public final class MEJBBean extends Object implements javax.ejb.SessionBean
| Constructor and Description |
|---|
MEJBBean() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
javax.management.j2ee.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(javax.ejb.SessionContext context) |
public void setSessionContext(javax.ejb.SessionContext context)
setSessionContext in interface javax.ejb.SessionBeanpublic void ejbActivate()
ejbActivate in interface javax.ejb.SessionBeanpublic void ejbPassivate()
ejbPassivate in interface javax.ejb.SessionBeanpublic void ejbRemove()
ejbRemove in interface javax.ejb.SessionBeanpublic void ejbCreate()
throws javax.ejb.CreateException
javax.ejb.CreateExceptionpublic Set<ObjectName> queryNames(ObjectName name, QueryExp query) throws RemoteException
RemoteExceptionpublic boolean isRegistered(ObjectName name) throws RemoteException
RemoteExceptionpublic Integer getMBeanCount() throws RemoteException
RemoteExceptionpublic MBeanInfo getMBeanInfo(ObjectName name) throws InstanceNotFoundException, IntrospectionException, ReflectionException, RemoteException
public Object getAttribute(ObjectName name, String attribute) throws MBeanException, AttributeNotFoundException, InstanceNotFoundException, ReflectionException, RemoteException
public AttributeList getAttributes(ObjectName name, String[] attributes) throws InstanceNotFoundException, ReflectionException, RemoteException
public void setAttribute(ObjectName name, Attribute attribute) throws InstanceNotFoundException, AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException, RemoteException
public AttributeList setAttributes(ObjectName name, AttributeList attributes) throws InstanceNotFoundException, ReflectionException, RemoteException
public Object invoke(ObjectName name, String operationName, Object[] params, String[] signature) throws InstanceNotFoundException, MBeanException, ReflectionException, RemoteException
public String getDefaultDomain() throws RemoteException
RemoteExceptionpublic javax.management.j2ee.ListenerRegistration getListenerRegistry() throws RemoteException
RemoteExceptionCopyright © 2013. All Rights Reserved.