Class ServiceReferenceHolder
java.lang.Object
org.wso2.carbon.inbound.endpoint.persistence.ServiceReferenceHolder
Keeps reference to the Registry service.
References should be initialized and managed by the corresponding service
component implementation.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceReferenceHolderorg.wso2.carbon.registry.core.RegistryvoidsetRegistrySvc(org.wso2.carbon.registry.core.service.RegistryService registrySvc)
-
Method Details
-
getInstance
-
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)
-