org.apache.geronimo.j2ee.mejb
Class MEJB
java.lang.Object
org.apache.geronimo.j2ee.mejb.MEJB
- All Implemented Interfaces:
- Remote, EJBObject, Management
public class MEJB
- extends Object
- implements Management
GBean implementing Management interface and supplying proxies to act as the MEJB container.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final GBeanInfo GBEAN_INFO
MEJB
public MEJB(String objectName,
MBeanServerReference mbeanServerReference)
MEJB
public MEJB(String objectName,
MBeanServer mbeanServer)
getMBeanInfo
public MBeanInfo getMBeanInfo(ObjectName objectName)
throws InstanceNotFoundException,
IntrospectionException,
ReflectionException
- Specified by:
getMBeanInfo
in interface Management
- Throws:
InstanceNotFoundException
IntrospectionException
ReflectionException
getDefaultDomain
public String getDefaultDomain()
- Specified by:
getDefaultDomain
in interface Management
getAttribute
public Object getAttribute(ObjectName objectName,
String s)
throws MBeanException,
AttributeNotFoundException,
InstanceNotFoundException,
ReflectionException
- Specified by:
getAttribute
in interface Management
- Throws:
MBeanException
AttributeNotFoundException
InstanceNotFoundException
ReflectionException
setAttribute
public void setAttribute(ObjectName objectName,
Attribute attribute)
throws InstanceNotFoundException,
AttributeNotFoundException,
InvalidAttributeValueException,
MBeanException,
ReflectionException
- Specified by:
setAttribute
in interface Management
- Throws:
InstanceNotFoundException
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
getAttributes
public AttributeList getAttributes(ObjectName objectName,
String[] strings)
throws InstanceNotFoundException,
ReflectionException
- Specified by:
getAttributes
in interface Management
- Throws:
InstanceNotFoundException
ReflectionException
setAttributes
public AttributeList setAttributes(ObjectName objectName,
AttributeList attributeList)
throws InstanceNotFoundException,
ReflectionException
- Specified by:
setAttributes
in interface Management
- Throws:
InstanceNotFoundException
ReflectionException
invoke
public Object invoke(ObjectName objectName,
String s,
Object[] objects,
String[] strings)
throws InstanceNotFoundException,
MBeanException,
ReflectionException
- Specified by:
invoke
in interface Management
- Throws:
InstanceNotFoundException
MBeanException
ReflectionException
getMBeanCount
public Integer getMBeanCount()
- Specified by:
getMBeanCount
in interface Management
isRegistered
public boolean isRegistered(ObjectName objectName)
- Specified by:
isRegistered
in interface Management
queryNames
public Set queryNames(ObjectName objectName,
QueryExp queryExp)
- Specified by:
queryNames
in interface Management
getListenerRegistry
public ListenerRegistration getListenerRegistry()
- Specified by:
getListenerRegistry
in interface Management
getEJBHome
public EJBHome getEJBHome()
- Specified by:
getEJBHome
in interface EJBObject
getHandle
public Handle getHandle()
- Specified by:
getHandle
in interface EJBObject
getPrimaryKey
public Object getPrimaryKey()
- Specified by:
getPrimaryKey
in interface EJBObject
isIdentical
public boolean isIdentical(EJBObject obj)
- Specified by:
isIdentical
in interface EJBObject
remove
public void remove()
throws RemoveException
- Specified by:
remove
in interface EJBObject
- Throws:
RemoveException
getObjectName
public String getObjectName()
isStateManageable
public boolean isStateManageable()
isStatisticsProvider
public boolean isStatisticsProvider()
isEventProvider
public boolean isEventProvider()
getGBeanInfo
public static GBeanInfo getGBeanInfo()
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.