Class Utils
java.lang.Object
org.wso2.carbon.registry.server.internal.Utils
Some utility methods used in the registry server bundle.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.wso2.carbon.registry.core.service.RegistryServiceMethod to obtain the stored registry instance.static voidsetRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService) Method to set the registry instance.
-
Constructor Details
-
Utils
public Utils()
-
-
Method Details
-
getRegistryService
public static org.wso2.carbon.registry.core.service.RegistryService getRegistryService()Method to obtain the stored registry instance.- Returns:
- the registry instance.
-
setRegistryService
public static void setRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService) Method to set the registry instance.- Parameters:
registryService- the registry instance.
-