code: protected void deactivate(ComponentContext context) {
          deactivated = true;
          if (mbean != null)
              mbean.unregister();
          if (taskStore != null)
              DatabaseTaskStore.unget(persistentStore);
          appTrackerRef.deactivate(context);
          contextSvcRef.deactivate(context);
          controllerRef.deactivate(context);
          localTranCurrentRef.deactivate(context);
          serializationSvcRef.deactivate(context);
          tranMgrRef.deactivate(context);
  
      }
docs: DS method to deactivate this component.
  Best practice: this should be a protected method, not public or private
  
  @param context DeclarativeService defined/populated component context