@ManagedObject(value="MBean Wrapper for Server") public class ServerMBean extends ObjectMBean
| Modifier and Type | Field and Description |
|---|---|
private Server |
server |
private long |
startupTime |
_managed| Constructor and Description |
|---|
ServerMBean(java.lang.Object managedObject) |
| Modifier and Type | Method and Description |
|---|---|
Handler[] |
getContexts() |
long |
getStartupTime() |
getAttribute, getAttributes, getManagedObject, getMBeanContainer, getMBeanInfo, getObjectContextBasis, getObjectName, getObjectNameBasis, invoke, isAnnotationPresent, mbeanFor, setAttribute, setAttributes, setMBeanContainer, toVariableNameprivate final long startupTime
private final Server server
@ManagedAttribute(value="contexts on this server") public Handler[] getContexts()
@ManagedAttribute(value="the startup time since January 1st, 1970 (in ms)") public long getStartupTime()