Class ServiceReferenceHolder


  • public class ServiceReferenceHolder
    extends Object
    Keeps reference to the Registry service. References should be initialized and managed by the corresponding service component implementation.
    • Method Detail

      • getRegistry

        public org.wso2.carbon.registry.core.Registry getRegistry()
                                                           throws org.wso2.carbon.registry.core.exceptions.RegistryException
        Throws:
        org.wso2.carbon.registry.core.exceptions.RegistryException
      • setRegistrySvc

        public void setRegistrySvc​(org.wso2.carbon.registry.core.service.RegistryService registrySvc)