org.apache.openejb.mgmt
Class MEJBBean

java.lang.Object
  extended by org.apache.openejb.mgmt.MEJBBean

public class MEJBBean
extends Object


Constructor Summary
MEJBBean()
           
 
Method Summary
 void create()
           
 Object getAttribute(ObjectName objectName, String string)
           
 AttributeList getAttributes(ObjectName objectName, String[] strings)
           
 String getDefaultDomain()
           
 javax.management.j2ee.ListenerRegistration getListenerRegistry()
           
 Integer getMBeanCount()
           
 MBeanInfo getMBeanInfo(ObjectName objectName)
           
 Object invoke(ObjectName objectName, String string, Object[] objects, String[] strings)
           
 boolean isRegistered(ObjectName objectName)
           
 Set queryNames(ObjectName objectName, QueryExp queryExp)
           
 void setAttribute(ObjectName objectName, Attribute attribute)
           
 AttributeList setAttributes(ObjectName objectName, AttributeList attributeList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MEJBBean

public MEJBBean()
Method Detail

create

public void create()

getAttribute

public Object getAttribute(ObjectName objectName,
                           String string)
                    throws MBeanException,
                           AttributeNotFoundException,
                           InstanceNotFoundException,
                           ReflectionException
Throws:
MBeanException
AttributeNotFoundException
InstanceNotFoundException
ReflectionException

getAttributes

public AttributeList getAttributes(ObjectName objectName,
                                   String[] strings)
                            throws InstanceNotFoundException,
                                   ReflectionException
Throws:
InstanceNotFoundException
ReflectionException

getDefaultDomain

public String getDefaultDomain()

getMBeanCount

public Integer getMBeanCount()

getMBeanInfo

public MBeanInfo getMBeanInfo(ObjectName objectName)
                       throws IntrospectionException,
                              InstanceNotFoundException,
                              ReflectionException
Throws:
IntrospectionException
InstanceNotFoundException
ReflectionException

invoke

public Object invoke(ObjectName objectName,
                     String string,
                     Object[] objects,
                     String[] strings)
              throws InstanceNotFoundException,
                     MBeanException,
                     ReflectionException
Throws:
InstanceNotFoundException
MBeanException
ReflectionException

isRegistered

public boolean isRegistered(ObjectName objectName)

queryNames

public Set queryNames(ObjectName objectName,
                      QueryExp queryExp)

setAttribute

public void setAttribute(ObjectName objectName,
                         Attribute attribute)
                  throws InstanceNotFoundException,
                         AttributeNotFoundException,
                         InvalidAttributeValueException,
                         MBeanException,
                         ReflectionException
Throws:
InstanceNotFoundException
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException

setAttributes

public AttributeList setAttributes(ObjectName objectName,
                                   AttributeList attributeList)
                            throws InstanceNotFoundException,
                                   ReflectionException
Throws:
InstanceNotFoundException
ReflectionException

getListenerRegistry

public javax.management.j2ee.ListenerRegistration getListenerRegistry()


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.