Package | Description |
---|---|
org.wso2.carbon.webapp.mgt | |
org.wso2.carbon.webapp.mgt.utils |
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() |
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) |
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.
|
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.
|
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 © 2021 WSO2. All rights reserved.