public class WebAppAdmin extends DeployControllerAdmin<WebAppController> implements WebAppMXBean
| Constructor and Description |
|---|
WebAppAdmin(WebAppController controller) |
| Modifier and Type | Method and Description |
|---|---|
long |
getClientDisconnectCountTotal()
Returns the number of connections that have ended with a
ClientDisconnectException for this web-app in it's lifetime. |
ConfigMXBean[] |
getConfigs() |
java.lang.String |
getContextPath()
Returns the context path
|
HostMXBean |
getHost()
Returns the owning host
|
java.util.Map<java.lang.String,java.lang.String> |
getManifestAttributes()
Returns the manifest attributes
|
int |
getRequestCount()
Returns the current number of requests being serviced by the web-app.
|
long |
getRequestCountTotal()
Returns the total number of requests serviced by the web-app
since it started.
|
long |
getRequestReadBytesTotal()
Returns the total number of bytes that requests serviced by
this web-app have read.
|
long |
getRequestTimeTotal()
Returns the total duration in milliseconds that connections serviced by
this web-app have taken.
|
long |
getRequestWriteBytesTotal()
Returns the total number of bytes that connections serviced by this
web-app have written.
|
SessionManagerMXBean |
getSessionManager()
Returns the session manager
|
long |
getStatus500CountTotal()
Returns the number of 500 status requests
|
java.util.Date |
getStatus500LastTime()
Returns the time of the last 500 status requests
|
java.lang.String |
getVersion()
Returns the web-app version number
|
protected WebApp |
getWebApp()
Returns the active webApp.
|
boolean |
isEnabled()
Returns true if the web-app is enabled.
|
addNotificationListener, destroy, getClassPath, getController, getErrorMessage, getId, getName, getNotificationInfo, getRedeployCheckInterval, getRedeployMode, getRepositoryMetaData, getRootDirectory, getStartTime, getStartupMode, getState, lifecycleEvent, register, removeNotificationListener, removeNotificationListener, restart, start, stop, toString, unregister, updateaddObjectNameProperties, getObjectName, getType, registerSelf, unregisterSelfclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdestroy, getClassPath, getErrorMessage, getId, getRedeployCheckInterval, getRedeployMode, getRepositoryMetaData, getRootDirectory, getStartTime, getStartupMode, getState, restart, start, stop, updategetName, getObjectName, getTypepublic WebAppAdmin(WebAppController controller)
public HostMXBean getHost()
getHost in interface WebAppMXBeanpublic SessionManagerMXBean getSessionManager()
WebAppMXBeangetSessionManager in interface WebAppMXBeanpublic ConfigMXBean[] getConfigs()
getConfigs in interface WebAppMXBeanpublic java.lang.String getContextPath()
getContextPath in interface WebAppMXBeanpublic java.lang.String getVersion()
getVersion in interface WebAppMXBeanpublic java.util.Map<java.lang.String,java.lang.String> getManifestAttributes()
getManifestAttributes in interface WebAppMXBeanpublic boolean isEnabled()
WebAppMXBeanisEnabled in interface WebAppMXBeanpublic long getStatus500CountTotal()
WebAppMXBeangetStatus500CountTotal in interface WebAppMXBeanpublic java.util.Date getStatus500LastTime()
WebAppMXBeangetStatus500LastTime in interface WebAppMXBeanpublic int getRequestCount()
WebAppMXBeangetRequestCount in interface WebAppMXBeanpublic long getRequestCountTotal()
WebAppMXBeangetRequestCountTotal in interface WebAppMXBeanpublic long getRequestTimeTotal()
WebAppMXBeangetRequestTimeTotal in interface WebAppMXBeanpublic long getRequestReadBytesTotal()
WebAppMXBeangetRequestReadBytesTotal in interface WebAppMXBeanpublic long getRequestWriteBytesTotal()
WebAppMXBeangetRequestWriteBytesTotal in interface WebAppMXBeanpublic long getClientDisconnectCountTotal()
WebAppMXBeanClientDisconnectException for this web-app in it's lifetime.getClientDisconnectCountTotal in interface WebAppMXBeanprotected WebApp getWebApp()