org.glassfish.admin.mejb
Class MEJBBean

java.lang.Object
  extended by org.glassfish.admin.mejb.MEJBBean
All Implemented Interfaces:
Serializable, EnterpriseBean, SessionBean

public final class MEJBBean
extends Object
implements SessionBean

See Also:
Serialized Form

Constructor Summary
MEJBBean()
           
 
Method Summary
 void ejbActivate()
           
 void ejbCreate()
           
 void ejbPassivate()
           
 void ejbRemove()
           
 Object getAttribute(ObjectName name, String attribute)
           
 AttributeList getAttributes(ObjectName name, String[] attributes)
           
 String getDefaultDomain()
          Returns the default domain used for naming the managed object.
 ListenerRegistration getListenerRegistry()
           
 Integer getMBeanCount()
           
 MBeanInfo getMBeanInfo(ObjectName name)
           
 Object invoke(ObjectName name, String operationName, Object[] params, String[] signature)
           
 boolean isRegistered(ObjectName name)
           
 Set<ObjectName> queryNames(ObjectName name, QueryExp query)
           
 void setAttribute(ObjectName name, Attribute attribute)
           
 AttributeList setAttributes(ObjectName name, AttributeList attributes)
           
 void setSessionContext(SessionContext context)
           
 
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

setSessionContext

public void setSessionContext(SessionContext context)
Specified by:
setSessionContext in interface SessionBean

ejbActivate

public void ejbActivate()
Specified by:
ejbActivate in interface SessionBean

ejbPassivate

public void ejbPassivate()
Specified by:
ejbPassivate in interface SessionBean

ejbRemove

public void ejbRemove()
Specified by:
ejbRemove in interface SessionBean

ejbCreate

public void ejbCreate()
               throws CreateException
Throws:
CreateException

queryNames

public Set<ObjectName> queryNames(ObjectName name,
                                  QueryExp query)
                           throws RemoteException
Throws:
RemoteException

isRegistered

public boolean isRegistered(ObjectName name)
                     throws RemoteException
Throws:
RemoteException

getMBeanCount

public Integer getMBeanCount()
                      throws RemoteException
Throws:
RemoteException

getMBeanInfo

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

getAttribute

public Object getAttribute(ObjectName name,
                           String attribute)
                    throws MBeanException,
                           AttributeNotFoundException,
                           InstanceNotFoundException,
                           ReflectionException,
                           RemoteException
Throws:
MBeanException
AttributeNotFoundException
InstanceNotFoundException
ReflectionException
RemoteException

getAttributes

public AttributeList getAttributes(ObjectName name,
                                   String[] attributes)
                            throws InstanceNotFoundException,
                                   ReflectionException,
                                   RemoteException
Throws:
InstanceNotFoundException
ReflectionException
RemoteException

setAttribute

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

setAttributes

public AttributeList setAttributes(ObjectName name,
                                   AttributeList attributes)
                            throws InstanceNotFoundException,
                                   ReflectionException,
                                   RemoteException
Throws:
InstanceNotFoundException
ReflectionException
RemoteException

invoke

public Object invoke(ObjectName name,
                     String operationName,
                     Object[] params,
                     String[] signature)
              throws InstanceNotFoundException,
                     MBeanException,
                     ReflectionException,
                     RemoteException
Throws:
InstanceNotFoundException
MBeanException
ReflectionException
RemoteException

getDefaultDomain

public String getDefaultDomain()
                        throws RemoteException
Returns the default domain used for naming the managed object. The default domain name is used as the domain part in the ObjectName of managed objects if no domain is specified by the user.

Throws:
RemoteException

getListenerRegistry

public ListenerRegistration getListenerRegistry()
                                         throws RemoteException
Throws:
RemoteException


Copyright © 2012 GlassFish Community. All Rights Reserved.