org.wso2.carbon.webapp.mgt
Class WebApplicationsHolder

java.lang.Object
  extended by org.wso2.carbon.webapp.mgt.WebApplicationsHolder

public class WebApplicationsHolder
extends Object

A holder for deployed & faulty webapps


Constructor Summary
WebApplicationsHolder(File webappsDir)
           
 
Method Summary
 Map<String,String> getAppVersionMap()
           
 Map<String,WebApplication> getFaultyWebapps()
           
 Map<String,WebApplication> getStartedWebapps()
           
 Map<String,WebApplication> getStoppedWebapps()
           
 File getWebappsDir()
           
 void stopWebapp(WebApplication webapp)
           
 void undeployWebapp(WebApplication webapp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebApplicationsHolder

public WebApplicationsHolder(File webappsDir)
Method Detail

getStartedWebapps

public Map<String,WebApplication> getStartedWebapps()

getFaultyWebapps

public Map<String,WebApplication> getFaultyWebapps()

getStoppedWebapps

public Map<String,WebApplication> getStoppedWebapps()

stopWebapp

public void stopWebapp(WebApplication webapp)
                throws org.wso2.carbon.CarbonException
Throws:
org.wso2.carbon.CarbonException

undeployWebapp

public void undeployWebapp(WebApplication webapp)
                    throws org.wso2.carbon.CarbonException
Throws:
org.wso2.carbon.CarbonException

getWebappsDir

public File getWebappsDir()

getAppVersionMap

public Map<String,String> getAppVersionMap()


Copyright © 2015 WSO2. All rights reserved.