org.apache.geronimo.mgmt
Class MEJB

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

@RolesAllowed(value={"mejbadmin","mejbuser"})
public class MEJB
extends org.apache.openejb.mgmt.MEJBBean

MEJB represents the management EJB defined by JSR 77 MEJBBean extends javax.ejb.Statetless and has @RemoteHome(ManagementHome.class)


Constructor Summary
MEJB()
           
 
Method Summary
 Object invoke(ObjectName objName, String str, Object[] objects, String[] strings)
           
 void setAttribute(ObjectName objName, Attribute attrib)
           
 AttributeList setAttributes(ObjectName objName, AttributeList attribList)
           
 
Methods inherited from class org.apache.openejb.mgmt.MEJBBean
create, getAttribute, getAttributes, getDefaultDomain, getListenerRegistry, getMBeanCount, getMBeanInfo, isRegistered, queryNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MEJB

public MEJB()
Method Detail

setAttribute

@RolesAllowed(value="mejbadmin")
public void setAttribute(ObjectName objName,
                                           Attribute attrib)
                  throws InstanceNotFoundException,
                         AttributeNotFoundException,
                         InvalidAttributeValueException,
                         MBeanException,
                         ReflectionException
Overrides:
setAttribute in class org.apache.openejb.mgmt.MEJBBean
Throws:
InstanceNotFoundException
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException

setAttributes

@RolesAllowed(value="mejbadmin")
public AttributeList setAttributes(ObjectName objName,
                                                     AttributeList attribList)
                            throws InstanceNotFoundException,
                                   ReflectionException
Overrides:
setAttributes in class org.apache.openejb.mgmt.MEJBBean
Throws:
InstanceNotFoundException
ReflectionException

invoke

@RolesAllowed(value="mejbadmin")
public Object invoke(ObjectName objName,
                                       String str,
                                       Object[] objects,
                                       String[] strings)
              throws InstanceNotFoundException,
                     MBeanException,
                     ReflectionException
Overrides:
invoke in class org.apache.openejb.mgmt.MEJBBean
Throws:
InstanceNotFoundException
MBeanException
ReflectionException


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.