org.ow2.jonas.lib.management.javaee
Class J2EEManagedObjectMBean<T>

java.lang.Object
  extended by org.apache.commons.modeler.BaseModelMBean
      extended by org.ow2.jonas.lib.management.javaee.J2EEManagedObjectMBean<T>
Type Parameters:
T - ManagedObject type
All Implemented Interfaces:
DynamicMBean, MBeanRegistration, ModelMBean, ModelMBeanNotificationBroadcaster, NotificationBroadcaster, PersistentMBean
Direct Known Subclasses:
J2EEDeployedObjectMBean

public class J2EEManagedObjectMBean<T>
extends org.apache.commons.modeler.BaseModelMBean

J2EEManagedObject MBean Base.

Author:
Guillaume Sauthier

Field Summary
static String J2EESERVER_KEY
          J2EE server key.
 
Fields inherited from class org.apache.commons.modeler.BaseModelMBean
attributeBroadcaster, attributes, generalBroadcaster, info, oname, registry, resource, resourceType, source
 
Constructor Summary
J2EEManagedObjectMBean()
          Create the mbean.
 
Method Summary
protected static org.ow2.util.log.Log getLogger()
           
protected  T getManagedComponent()
           
 boolean isEventProvider()
           
 boolean isStateManageable()
           
 boolean isStatisticsProvider()
           
 
Methods inherited from class org.apache.commons.modeler.BaseModelMBean
addAttributeChangeNotificationListener, addNotificationListener, createDefaultModelMBeanInfo, createResource, getAttribute, getAttributes, getClassName, getJmxName, getManagedResource, getMBeanInfo, getModelerType, getNotificationInfo, getObjectName, getRegistry, initModelInfo, invoke, isModelMBeanInfoValid, load, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedResource, setModeledType, setModelMBeanInfo, setRegistry, store, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

J2EESERVER_KEY

public static final String J2EESERVER_KEY
J2EE server key.

See Also:
Constant Field Values
Constructor Detail

J2EEManagedObjectMBean

public J2EEManagedObjectMBean()
                       throws MBeanException
Create the mbean.

Throws:
MBeanException - if the super constructor fails.
Method Detail

getManagedComponent

protected T getManagedComponent()
Returns:
the deployer (managed object)

isStateManageable

public boolean isStateManageable()
Returns:
Returns true is the MBean can manage its state.

isStatisticsProvider

public boolean isStatisticsProvider()
Returns:
Returns true if this MBean can provides JSR77 Statistics.

isEventProvider

public boolean isEventProvider()
Returns:
Returns true if this MBean can provides JSR77 Events.

getLogger

protected static final org.ow2.util.log.Log getLogger()
Returns:
Returns the logger.


Copyright © 2010 OW2 Consortium. All Rights Reserved.