## Uses of Class
org.wso2.carbon.webapp.mgt.WebApplication

- Packages that use WebApplication
  Package | Description
  --- | ---
  org.wso2.carbon.webapp.mgt |
  org.wso2.carbon.webapp.mgt.utils |

- - ### Uses of WebApplication in org.wso2.carbon.webapp.mgt

    Methods in org.wso2.carbon.webapp.mgt that return types with arguments of type WebApplication
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,WebApplication>` | WebApplicationsHolder.`getAllWebapps()` Get started and stopped webapps
    `Map<String,WebApplication>` | WebApplicationsHolder.`getFaultyWebapps()`
    `Map<String,WebApplication>` | WebApplicationsHolder.`getStartedWebapps()`
    `Map<String,WebApplication>` | WebApplicationsHolder.`getStoppedWebapps()`

    Methods in org.wso2.carbon.webapp.mgt with parameters of type WebApplication
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | WebappAdmin.`doesWebappSatisfySearchString(WebApplication webapp, String searchString)`
    `protected void` | TomcatGenericWebappsDeployer.`handleHotUpdate(WebApplication webApplication, List<WebContextParameter> webContextParams, List<Object> applicationEventListeners)` Hot update an existing webapp.
    `protected boolean` | WebappAdmin.`isWebappRelevant(WebApplication webapp, String webappType)` This method can be used to check whether the given web app is relevant for this Webapp type.
    `void` | WebApplicationsHolder.`stopWebapp(WebApplication webapp)`
    `void` | WebApplicationsHolder.`undeployWebapp(WebApplication webapp)`

  - ### Uses of WebApplication in org.wso2.carbon.webapp.mgt.utils

    Methods in org.wso2.carbon.webapp.mgt.utils that return WebApplication
    Modifier and Type | Method and Description
    --- | ---
    `static WebApplication` | GhostWebappDeployerUtils.`addGhostWebApp(File ghostFile, File originalFile, TomcatGenericWebappsDeployer applicationDeployer, org.apache.axis2.context.ConfigurationContext configContext)` Creates the Ghost webapplication by reading the ghost metadata file.
    `static WebApplication` | GhostWebappDeployerUtils.`deployActualWebApp(WebApplication ghostWebapp, org.apache.axis2.context.ConfigurationContext configurationContext)` Removes the given ghostWebapp and deploys the actual webapp.
    `static WebApplication` | GhostWebappDeployerUtils.`dispatchWebAppFromTransitGhosts(String ctxName, org.apache.axis2.context.ConfigurationContext cfgContext)` When a ghost webapp is removed from the webappsholder and the corresponding actual webapp is deployed, there's a time interval in which there's no Webapp in the webapps holder for the particular webapp context.
    `static WebApplication` | GhostWebappDeployerUtils.`findDeployedWebapp(org.apache.axis2.context.ConfigurationContext configurationContext, String webappFilePath)` This method is used to find a webapplication from the webapps holder by comparing the webapp file absolute path.

    Methods in org.wso2.carbon.webapp.mgt.utils that return types with arguments of type WebApplication
    Modifier and Type | Method and Description
    --- | ---
    `static Map<String,WebApplication>` | GhostWebappDeployerUtils.`getTransitGhostWebAppsMap(org.apache.axis2.context.ConfigurationContext cfgContext)` Get the map of services which are in transit.

    Methods in org.wso2.carbon.webapp.mgt.utils with parameters of type WebApplication
    Modifier and Type | Method and Description
    --- | ---
    `static String` | WebAppUtils.`checkJaxApplication(WebApplication webApplication)` This util method is used to check if the given application is a Jax-RS/WS app
    `static WebApplication` | GhostWebappDeployerUtils.`deployActualWebApp(WebApplication ghostWebapp, org.apache.axis2.context.ConfigurationContext configurationContext)` Removes the given ghostWebapp and deploys the actual webapp.
    `static String` | WebAppUtils.`getWebappResourcePath(WebApplication webApplication)` Returns the registry path for the webapp
    `static boolean` | GhostWebappDeployerUtils.`isGhostWebApp(WebApplication webApplication)` Checks if the given webapp is a ghost webapp.
    `static void` | GhostWebappDeployerUtils.`serializeWebApp(WebApplication webApplication, org.apache.axis2.engine.AxisConfiguration axisConfig, String webappPath)` Creates the ghost file for the current web application.
    `static void` | GhostWebappDeployerUtils.`updateLastUsedTime(WebApplication webApplication)` Updates the last used timestamp of the given webapp.

Copyright © 2019 WSO2. All rights reserved.