public class Util extends Object
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
static org.wso2.carbon.user.core.service.RealmService |
getRealmService()
Method to retrieve the Realm Service instance.
|
static org.wso2.carbon.registry.core.service.RegistryService |
getRegistryService()
Method to retrieve the Registry Service instance.
|
static String |
getServiceName()
Method to obtain the name of the cloud service in which this module is running.
|
static void |
setRealmService(org.wso2.carbon.user.core.service.RealmService service)
Stores an instance of the Realm Service that can be used to access the user realm.
|
static void |
setRegistryService(org.wso2.carbon.registry.core.service.RegistryService service)
Stores an instance of the Registry Service that can be used to access the registry.
|
public static void setRegistryService(org.wso2.carbon.registry.core.service.RegistryService service)
service - the Registry Service instance.public static org.wso2.carbon.registry.core.service.RegistryService getRegistryService()
public static void setRealmService(org.wso2.carbon.user.core.service.RealmService service)
service - the Realm Service instance.public static org.wso2.carbon.user.core.service.RealmService getRealmService()
public static String getServiceName()
Copyright © 2019 WSO2. All rights reserved.