org.ow2.jonas.ws.jaxrpc.mbean
Class AbstractWebServiceMBean
java.lang.Object
org.ow2.jonas.lib.management.javaee.ManagedObject
org.ow2.jonas.lib.management.javaee.J2EEManagedObject
org.ow2.jonas.ws.jaxrpc.mbean.AbstractWebServiceMBean
- Direct Known Subclasses:
- Handler, PortComponent, Service
public abstract class AbstractWebServiceMBean
- extends J2EEManagedObject
Base Class for WebServices MBeans. It makes registration/unregistration
of hierarchical MBeans very easy. Needs to be subclassed for each WebService MBean.
- Author:
- Guillaume Sauthier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractWebServiceMBean
public AbstractWebServiceMBean(String objectName)
- Constructor for default J2eeManagedObject
- Parameters:
objectName
- the MBean's ObjectName
register
public void register(JmxService jmx)
- Registers the MBean (and its childs) in the specified MBeanServer
- Parameters:
jmx
- reference on the jmx service which allows registering of MBeans
getMBeanType
protected abstract String getMBeanType()
- Returns:
- Returns the MBean type (as used in mbean-descriptor.xml)
unregister
public void unregister(JmxService jmx)
- Unregisters the MBean (and its childs) from the specified MBeanServer
- Parameters:
jmx
- reference on the jmx service which allows unregistering of MBeans
getChildsMBeans
protected abstract List getChildsMBeans()
- Returns:
- Returns the Child List
getRealObjectName
public ObjectName getRealObjectName()
- Returns:
- Returns the ObjectName instance
Copyright © 2010 OW2 Consortium. All Rights Reserved.