public class ServerMBean extends ServerMBean
_beanInfo, IMPACT_ACTION, IMPACT_ACTION_INFO, IMPACT_INFO, IMPACT_UNKOWN, INT, NO_PARAMS, OBJECT, ON_MBEAN, ON_OBJECT, READ_ONLY, READ_WRITE, STRING
Modifier | Constructor and Description |
---|---|
|
ServerMBean()
Constructor.
|
protected |
ServerMBean(Server jettyServer)
Constructor.
|
|
ServerMBean(java.lang.String configuration)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
defineManagedResource()
Define the Managed Resource.
|
protected javax.management.ObjectName |
newObjectName(javax.management.MBeanServer server)
Create a new ObjectName.
|
void |
postDeregister()
Post Deregister.
|
void |
postRegister(java.lang.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
protected ServerMBean(Server jettyServer) throws javax.management.MBeanException, javax.management.InstanceNotFoundException
javax.management.MBeanException
javax.management.InstanceNotFoundException
public ServerMBean() throws javax.management.MBeanException, javax.management.InstanceNotFoundException
javax.management.MBeanException
javax.management.InstanceNotFoundException
public ServerMBean(java.lang.String configuration) throws java.io.IOException, javax.management.MBeanException, javax.management.InstanceNotFoundException
configuration
- URL or File to jetty.xml style configuration filejava.io.IOException
javax.management.MBeanException
javax.management.InstanceNotFoundException
protected javax.management.ObjectName newObjectName(javax.management.MBeanServer server)
ModelMBeanImpl
newObjectName
in class ServerMBean
protected void defineManagedResource()
ModelMBeanImpl
defineManagedResource
in class ServerMBean
public void postRegister(java.lang.Boolean ok)
postRegister
in interface javax.management.MBeanRegistration
postRegister
in class ServerMBean
ok
- public void postDeregister()
ModelMBeanImpl
postDeregister
in interface javax.management.MBeanRegistration
postDeregister
in class ServerMBean
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.