com.caucho.management.server
Interface WebAppMXBean

All Superinterfaces:
DeployControllerMXBean, ManagedObjectMXBean
All Known Implementing Classes:
WebAppAdmin

public interface WebAppMXBean
extends DeployControllerMXBean

MBean API for the WebApp.

 resin:type=WebAppMBean,name=/wiki,Host=foo.com
 


Method Summary
 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 application's context path.
 HostMXBean getHost()
          Returns the owning host
 java.util.Map<java.lang.String,java.lang.String> getManifestAttributes()
          Returns any manifest entries from the .war file
 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 deployed version
 boolean isEnabled()
          Returns true if the web-app is enabled.
 
Methods inherited from interface com.caucho.management.server.DeployControllerMXBean
destroy, getClassPath, getErrorMessage, getId, getRedeployCheckInterval, getRedeployMode, getRepositoryMetaData, getRootDirectory, getStartTime, getStartupMode, getState, restart, start, stop, update
 
Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean
getName, getObjectName, getType
 

Method Detail

getHost

HostMXBean getHost()
Returns the owning host


getSessionManager

SessionManagerMXBean getSessionManager()
Returns the session manager


getConfigs

ConfigMXBean[] getConfigs()

getContextPath

java.lang.String getContextPath()
Returns the application's context path.


getVersion

java.lang.String getVersion()
Returns the deployed version


getManifestAttributes

java.util.Map<java.lang.String,java.lang.String> getManifestAttributes()
Returns any manifest entries from the .war file


isEnabled

boolean isEnabled()
Returns true if the web-app is enabled.


getStatus500CountTotal

long getStatus500CountTotal()
Returns the number of 500 status requests


getStatus500LastTime

java.util.Date getStatus500LastTime()
Returns the time of the last 500 status requests


getRequestCount

int getRequestCount()
Returns the current number of requests being serviced by the web-app.


getRequestCountTotal

long getRequestCountTotal()
Returns the total number of requests serviced by the web-app since it started.


getRequestTimeTotal

@Units(value="milliseconds")
long getRequestTimeTotal()
Returns the total duration in milliseconds that connections serviced by this web-app have taken.


getRequestReadBytesTotal

@Units(value="bytes")
long getRequestReadBytesTotal()
Returns the total number of bytes that requests serviced by this web-app have read.


getRequestWriteBytesTotal

@Units(value="bytes")
long getRequestWriteBytesTotal()
Returns the total number of bytes that connections serviced by this web-app have written.


getClientDisconnectCountTotal

long getClientDisconnectCountTotal()
Returns the number of connections that have ended with a ClientDisconnectException for this web-app in it's lifetime.