org.wso2.carbon.application.mgt.webapp
Class WarApplicationAdmin

java.lang.Object
  extended by org.wso2.carbon.core.AbstractAdmin
      extended by org.wso2.carbon.application.mgt.webapp.WarApplicationAdmin

public class WarApplicationAdmin
extends org.wso2.carbon.core.AbstractAdmin


Field Summary
 
Fields inherited from class org.wso2.carbon.core.AbstractAdmin
axisConfig, configurationContext
 
Constructor Summary
WarApplicationAdmin()
           
 
Method Summary
 WarCappMetadata[] getJaxWSWarAppData(String appName)
          Gives a list of WarCappMetadata which includes all the jaxws webapps deployed through given C-App
 WarCappMetadata[] getWarAppData(String appName)
          Gives a WarMetadata list which includes all web applications deployed through the given Capp.
 
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
 

Constructor Detail

WarApplicationAdmin

public WarApplicationAdmin()
Method Detail

getWarAppData

public WarCappMetadata[] getWarAppData(String appName)
                                throws Exception
Gives a WarMetadata list which includes all web applications deployed through the given Capp.

Parameters:
appName - - input app name
Returns:
- WarMetadata array with found artifact info
Throws:
Exception - - error on retrieving metadata

getJaxWSWarAppData

public WarCappMetadata[] getJaxWSWarAppData(String appName)
                                     throws Exception
Gives a list of WarCappMetadata which includes all the jaxws webapps deployed through given C-App

Parameters:
appName - - input app name
Returns:
Array of WarCappMetadata with found jaxws webapps
Throws:
Exception - - error on retrieving metadata


Copyright © 2015 WSO2. All rights reserved.