Class ServiceReferenceHolder

java.lang.Object
org.wso2.carbon.inbound.endpoint.persistence.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 Details

    • getInstance

      public static ServiceReferenceHolder 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)