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, update
addObjectNameProperties, getObjectName, getType, registerSelf, unregisterSelf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
destroy, getClassPath, getErrorMessage, getId, getRedeployCheckInterval, getRedeployMode, getRepositoryMetaData, getRootDirectory, getStartTime, getStartupMode, getState, restart, start, stop, update
getName, getObjectName, getType
public WebAppAdmin(WebAppController controller)
public HostMXBean getHost()
getHost
in interface WebAppMXBean
public SessionManagerMXBean getSessionManager()
WebAppMXBean
getSessionManager
in interface WebAppMXBean
public ConfigMXBean[] getConfigs()
getConfigs
in interface WebAppMXBean
public java.lang.String getContextPath()
getContextPath
in interface WebAppMXBean
public java.lang.String getVersion()
getVersion
in interface WebAppMXBean
public java.util.Map<java.lang.String,java.lang.String> getManifestAttributes()
getManifestAttributes
in interface WebAppMXBean
public boolean isEnabled()
WebAppMXBean
isEnabled
in interface WebAppMXBean
public long getStatus500CountTotal()
WebAppMXBean
getStatus500CountTotal
in interface WebAppMXBean
public java.util.Date getStatus500LastTime()
WebAppMXBean
getStatus500LastTime
in interface WebAppMXBean
public int getRequestCount()
WebAppMXBean
getRequestCount
in interface WebAppMXBean
public long getRequestCountTotal()
WebAppMXBean
getRequestCountTotal
in interface WebAppMXBean
public long getRequestTimeTotal()
WebAppMXBean
getRequestTimeTotal
in interface WebAppMXBean
public long getRequestReadBytesTotal()
WebAppMXBean
getRequestReadBytesTotal
in interface WebAppMXBean
public long getRequestWriteBytesTotal()
WebAppMXBean
getRequestWriteBytesTotal
in interface WebAppMXBean
public long getClientDisconnectCountTotal()
WebAppMXBean
ClientDisconnectException
for this web-app in it's lifetime.getClientDisconnectCountTotal
in interface WebAppMXBean
protected WebApp getWebApp()