public class RegistryManager extends Object
| Constructor and Description |
|---|
RegistryManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEprToRegistry(String hostName,
String webApp,
String tenantDomain,
String appName)
when getting hosts from registry getHostsFromRegistry method will return
all the hosts in the registry.
|
void |
addHostToRegistry(String hostName,
String webApp,
String tenantDomain,
String appName)
when getting hosts from registry getHostsFromRegistry method will return
all the hosts in the registry.
|
MappingData[] |
getAllMappingsFromRegistry() |
String |
getApplicationContextForHost(String hostName) |
String |
getAppNameFromRegistry(String hostName) |
org.wso2.carbon.registry.core.Resource |
getMappingFromRegistry(String hostName) |
String |
getServiceNameForHost(String hostName) |
String |
getTenantDomainForHost(String hostName) |
MappingData[] |
getTenantSpecificMappingsFromRegistry(String tenantDomain) |
void |
removeFromRegistry(String hostName) |
void |
updateHostToRegistry(org.apache.catalina.Host host,
String webApp) |
public void addHostToRegistry(String hostName, String webApp, String tenantDomain, String appName) throws Exception
hostName - The virtual host to be stored in the registrywebApp - The webapp to be deployed in the virtual hostExceptionpublic MappingData[] getTenantSpecificMappingsFromRegistry(String tenantDomain) throws Exception
Exceptionpublic void addEprToRegistry(String hostName, String webApp, String tenantDomain, String appName) throws Exception
hostName - The virtual host to be stored in the registrywebApp - The webapp to be deployed in the virtual hostExceptionpublic void updateHostToRegistry(org.apache.catalina.Host host,
String webApp)
throws Exception
host - The virtual host to be stored in the registrywebApp - The webapp to be deployed in the virtual hostExceptionpublic void removeFromRegistry(String hostName) throws Exception
hostName - virtual host name to be removedExceptionpublic org.wso2.carbon.registry.core.Resource getMappingFromRegistry(String hostName) throws Exception
hostName - The properties Virtual host name to be retrievedExceptionpublic String getApplicationContextForHost(String hostName) throws Exception
Exceptionpublic String getServiceNameForHost(String hostName) throws Exception
Exceptionpublic String getTenantDomainForHost(String hostName) throws Exception
Exceptionpublic MappingData[] getAllMappingsFromRegistry() throws Exception
ExceptionCopyright © 2017 WSO2. All rights reserved.