public class ActivationServiceComponent extends Object
Constructor and Description |
---|
ActivationServiceComponent() |
Modifier and Type | Method and 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.
|
protected void activate(org.osgi.service.component.ComponentContext context)
context
- the OSGi component context.protected void deactivate(org.osgi.service.component.ComponentContext context)
context
- the OSGi component context.protected void setRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService)
registryService
- the registry service.protected void unsetRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService)
registryService
- the current registry service instance, to be used for any
cleaning-up.protected void setRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
realmService
- the realm service.protected void unsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
realmService
- the current realm service instance, to be used for any cleaning-up.protected void setConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService)
contextService
- the configuration context service.protected void unsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService)
contextService
- the current configuration context service instance, to be used for any
cleaning-up.Copyright © 2024 WSO2. All rights reserved.