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 hostException
public MappingData[] getTenantSpecificMappingsFromRegistry(String tenantDomain) throws Exception
Exception
public 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 hostException
public 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 hostException
public void removeFromRegistry(String hostName) throws Exception
hostName
- virtual host name to be removedException
public org.wso2.carbon.registry.core.Resource getMappingFromRegistry(String hostName) throws Exception
hostName
- The properties Virtual host name to be retrievedException
public String getApplicationContextForHost(String hostName) throws Exception
Exception
public String getServiceNameForHost(String hostName) throws Exception
Exception
public String getTenantDomainForHost(String hostName) throws Exception
Exception
public MappingData[] getAllMappingsFromRegistry() throws Exception
Exception
Copyright © 2019 WSO2. All rights reserved.