public class ServiceReferenceHolder extends Object
| Modifier and Type | Method and Description |
|---|---|
org.wso2.carbon.auth.core.configuration.models.AuthConfiguration |
getAuthConfigurations()
Gives the AuthConfigurations explicitly set in the deployment yaml or the default configurations
|
static ServiceReferenceHolder |
getInstance() |
Map<String,String> |
getRestAPIConfigurationMap(String namespace)
This method is to get configuration map of a given namespace
|
org.wso2.carbon.secvault.SecureVault |
getSecureVault()
Gives the secure vault instance if already set
|
void |
setConfigProvider(org.wso2.carbon.config.provider.ConfigProvider configProvider)
Sets the configProvider instance
|
void |
setSecureVault(org.wso2.carbon.secvault.SecureVault secureVault)
Sets the secure vault instance
|
public static ServiceReferenceHolder getInstance()
public void setConfigProvider(org.wso2.carbon.config.provider.ConfigProvider configProvider)
configProvider - configProvider instance to setpublic org.wso2.carbon.auth.core.configuration.models.AuthConfiguration getAuthConfigurations()
public Map<String,String> getRestAPIConfigurationMap(String namespace)
namespace - namespace defined in deployment.yamlpublic org.wso2.carbon.secvault.SecureVault getSecureVault()
public void setSecureVault(org.wso2.carbon.secvault.SecureVault secureVault)
secureVault - secureVault instance to setCopyright © 2018 WSO2. All rights reserved.