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, setManagedResource
addAttributeChangeNotificationListener, 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, uniqueObjectName
public 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 fileIOException
MBeanException
InstanceNotFoundException
protected ObjectName newObjectName(MBeanServer server)
ModelMBeanImpl
newObjectName
in class ModelMBeanImpl
protected void defineManagedResource()
ModelMBeanImpl
defineManagedResource
in class HttpServerMBean
public void postRegister(Boolean ok)
postRegister
in interface MBeanRegistration
postRegister
in class HttpServerMBean
ok
- public void postDeregister()
ModelMBeanImpl
postDeregister
in interface MBeanRegistration
postDeregister
in class HttpServerMBean
Copyright © 2013. All rights reserved.