Class ActivationServiceComponent

java.lang.Object
org.wso2.carbon.activation.internal.ActivationServiceComponent

public class ActivationServiceComponent extends Object
The Declarative Service Component for the Service Activation Module for Tenants.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    activate(org.osgi.service.component.ComponentContext context)
    Activates the Registry Kernel bundle.
    protected void
    deactivate(org.osgi.service.component.ComponentContext context)
    Deactivates the Registry Kernel bundle.
    protected void
    setConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService)
    Method to set the configuration context service used.
    protected void
    setRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
    Method to set the realm service used.
    protected void
    setRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService)
    Method to set the registry service used.
    protected void
    unsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService)
    This method is called when the current configuration context service becomes un-available.
    protected void
    unsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
    This method is called when the current realm service becomes un-available.
    protected void
    unsetRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService)
    This method is called when the current registry service becomes un-available.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ActivationServiceComponent

      public ActivationServiceComponent()
  • Method Details

    • activate

      protected void activate(org.osgi.service.component.ComponentContext context)
      Activates the Registry Kernel bundle.
      Parameters:
      context - the OSGi component context.
    • deactivate

      protected void deactivate(org.osgi.service.component.ComponentContext context)
      Deactivates the Registry Kernel bundle.
      Parameters:
      context - the OSGi component context.
    • setRegistryService

      protected void setRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService)
      Method to set the registry service used. This will be used when accessing the registry. This method is called when the OSGi Registry Service is available.
      Parameters:
      registryService - the registry service.
    • unsetRegistryService

      protected void unsetRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService)
      This method is called when the current registry service becomes un-available.
      Parameters:
      registryService - the current registry service instance, to be used for any cleaning-up.
    • setRealmService

      protected void setRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
      Method to set the realm service used. This will be used when accessing the user realm. This method is called when the OSGi Realm Service is available.
      Parameters:
      realmService - the realm service.
    • unsetRealmService

      protected void unsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
      This method is called when the current realm service becomes un-available.
      Parameters:
      realmService - the current realm service instance, to be used for any cleaning-up.
    • setConfigurationContextService

      protected void setConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService)
      Method to set the configuration context service used. This method is called when the OSGi ConfigurationContext Service is available.
      Parameters:
      contextService - the configuration context service.
    • unsetConfigurationContextService

      protected void unsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService)
      This method is called when the current configuration context service becomes un-available.
      Parameters:
      contextService - the current configuration context service instance, to be used for any cleaning-up.