org.wso2.carbon.registry.server.internal
Class RegistryServerServiceComponent

java.lang.Object
  extended by org.wso2.carbon.registry.server.internal.RegistryServerServiceComponent

public class RegistryServerServiceComponent
extends Object

The SCR Component encapsulating the server-side functionality of the registry.


Constructor Summary
RegistryServerServiceComponent()
           
 
Method Summary
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 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 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 Detail

RegistryServerServiceComponent

public RegistryServerServiceComponent()
Method Detail

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.

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.


Copyright © 2014 WSO2 Inc. All rights reserved.