org.objectweb.easybeans.jsr77
Class J2EEServerMBean

java.lang.Object
  extended by org.apache.commons.modeler.BaseModelMBean
      extended by org.objectweb.easybeans.jsr77.J2EEManagedObjectMBean<EZBServer>
          extended by org.objectweb.easybeans.jsr77.J2EEServerMBean
All Implemented Interfaces:
javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.modelmbean.ModelMBean, javax.management.modelmbean.ModelMBeanNotificationBroadcaster, javax.management.NotificationBroadcaster, javax.management.PersistentMBean
Direct Known Subclasses:
EmbeddedMBean

public class J2EEServerMBean
extends J2EEManagedObjectMBean<EZBServer>

J2EEServer MBean for JSR 77.

Author:
Guillaume Sauthier

Field Summary
 
Fields inherited from class org.apache.commons.modeler.BaseModelMBean
attributeBroadcaster, attributes, generalBroadcaster, info, oname, registry, resource, resourceType, source
 
Constructor Summary
J2EEServerMBean()
           
 
Method Summary
 java.lang.String[] getDeployedObjects()
           
 java.lang.String[] getJavaVMs()
           
 java.lang.String[] getResources()
          non-sens in EasyBeans.
 java.lang.String getServerVendor()
           
 java.lang.String getServerVersion()
           
 
Methods inherited from class org.objectweb.easybeans.jsr77.J2EEManagedObjectMBean
getLogger, getManagedComponent, isEventProvider, isStateManageable, 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
 

Constructor Detail

J2EEServerMBean

public J2EEServerMBean()
                throws javax.management.MBeanException,
                       javax.management.RuntimeOperationsException
Throws:
javax.management.MBeanException - if creation fails
javax.management.RuntimeOperationsException - if creation fails
Method Detail

getDeployedObjects

public java.lang.String[] getDeployedObjects()
Returns:
Returns the ObjectNames of the deployed objects.

getResources

public java.lang.String[] getResources()
non-sens in EasyBeans.

Returns:
Returns the ObjectName of the deployed Resources.

getJavaVMs

public java.lang.String[] getJavaVMs()
Returns:
Returns the ObjectNames of the Java VMs.

getServerVendor

public java.lang.String getServerVendor()
Returns:
Returns the Server Vendor name.

getServerVersion

public java.lang.String getServerVersion()
Returns:
Returns the Server version.