org.wso2.carbon.url.mapper
Class UrlMapperAdminService
java.lang.Object
org.wso2.carbon.core.AbstractAdmin
org.wso2.carbon.url.mapper.UrlMapperAdminService
public class UrlMapperAdminService
- extends org.wso2.carbon.core.AbstractAdmin
Backend service to handle virtual host addition to registry and to tomcat.
| Fields inherited from class org.wso2.carbon.core.AbstractAdmin |
axisConfig, configurationContext |
| Methods inherited from class org.wso2.carbon.core.AbstractAdmin |
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamp |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UrlMapperAdminService
public UrlMapperAdminService()
addWebAppToHost
public void addWebAppToHost(String hostName,
String uri,
String appType)
throws UrlMapperException
- Throws:
UrlMapperException
getHttpPort
public String getHttpPort()
throws UrlMapperException
- Throws:
UrlMapperException
getPaginatedMappings
public static PaginatedMappingData getPaginatedMappings(int pageNumber,
String tenantDomain)
throws UrlMapperException
- Throws:
UrlMapperException
getAllMappings
public MappingData[] getAllMappings()
throws UrlMapperException
- Throws:
UrlMapperException
addServiceDomain
public void addServiceDomain(String hostName,
String url,
String appType)
throws UrlMapperException
- Throws:
UrlMapperException
editServiceDomain
public void editServiceDomain(String newHost,
String oldhost)
throws UrlMapperException
- Throws:
UrlMapperException
deleteServiceDomain
public void deleteServiceDomain(String hostName)
throws UrlMapperException,
org.apache.axis2.AxisFault
- Throws:
UrlMapperException
org.apache.axis2.AxisFault
getHostForEpr
public String[] getHostForEpr(String url)
throws UrlMapperException
- Throws:
UrlMapperException
getHostForWebApp
public String[] getHostForWebApp(String url)
throws UrlMapperException
- Throws:
UrlMapperException
getDomainNamePrefix
public String getDomainNamePrefix()
isMappingLimitExceeded
public boolean isMappingLimitExceeded(String webAppName)
throws UrlMapperException
- Throws:
UrlMapperException
editHost
public boolean editHost(String webappName,
String newHost,
String oldhost)
throws UrlMapperException
- Throws:
UrlMapperException
deleteHost
public void deleteHost(String hostName)
throws UrlMapperException
- Throws:
UrlMapperException
isMappingExist
public boolean isMappingExist(String mappingName)
throws UrlMapperException
- Throws:
UrlMapperException
Copyright © 2015 WSO2. All rights reserved.