public class ServerMBean extends HttpServerMBean
_beanInfo, IMPACT_ACTION, IMPACT_ACTION_INFO, IMPACT_INFO, IMPACT_UNKOWN, INT, NO_PARAMS, OBJECT, ON_MBEAN, ON_OBJECT, READ_ONLY, READ_WRITE, STRING| Constructor and Description |
|---|
ServerMBean()
Constructor.
|
ServerMBean(Server jettyServer)
Constructor.
|
ServerMBean(String configuration)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
defineManagedResource()
Define the Managed Resource.
|
protected ObjectName |
newObjectName(MBeanServer server)
Create a new ObjectName.
|
void |
postDeregister()
Post Deregister.
|
void |
postRegister(Boolean ok) |
addComponent, getComponents, getVersion, removeComponent, setManagedResourceaddAttributeChangeNotificationListener, addNotificationListener, defineAttribute, defineAttribute, defineAttribute, defineAttribute, defineOperation, defineOperation, defineOperation, defineOperation, destroyComponentMBeans, getAttribute, getAttributes, getBaseObjectName, getComponentMBeans, getDefaultDomain, getManagedResource, getMBeanInfo, getMBeanServer, getNotificationInfo, getObjectName, invoke, load, mbeanFor, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setBaseObjectName, setDefaultDomain, setModelMBeanInfo, store, uniqueObjectName, uniqueObjectNamepublic ServerMBean(Server jettyServer) throws MBeanException, InstanceNotFoundException
public ServerMBean()
throws MBeanException,
InstanceNotFoundException
public ServerMBean(String configuration) throws IOException, MBeanException, InstanceNotFoundException
configuration - URL or File to jetty.xml style configuration fileIOExceptionMBeanExceptionInstanceNotFoundExceptionprotected ObjectName newObjectName(MBeanServer server)
ModelMBeanImplnewObjectName in class ModelMBeanImplprotected void defineManagedResource()
ModelMBeanImpldefineManagedResource in class HttpServerMBeanpublic void postRegister(Boolean ok)
postRegister in interface MBeanRegistrationpostRegister in class HttpServerMBeanok - public void postDeregister()
ModelMBeanImplpostDeregister in interface MBeanRegistrationpostDeregister in class HttpServerMBeanCopyright © 2016. All Rights Reserved.