|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.geronimo.j2ee.mejb.MEJB
org.openejb.mejb.MEJB
Field Summary | |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
Constructor Summary | |
MEJB(org.apache.geronimo.gbean.AbstractName abstractName,
org.apache.geronimo.system.jmx.MBeanServerReference mbeanServerReference)
|
|
MEJB(String containerId,
javax.management.MBeanServer mbeanServer)
|
Method Summary | |
ClassLoader |
getClassLoader()
|
Object |
getContainerID()
Unique id used for locating the container No assumptions are made about the type of this object other than it can hash uniquely |
Subject |
getDefaultSubject()
Returns the subject to use if the client is not authenticated. |
javax.ejb.EJBHome |
getEjbHome()
Return a proxy for the EJB's home interface. |
javax.ejb.EJBLocalHome |
getEjbLocalHome()
Return a proxy for the EJB's local home interface. |
javax.ejb.EJBLocalObject |
getEjbLocalObject(Object primaryKey)
Return a proxy for the EJB's local interface. |
String |
getEjbName()
Return the name of the EJB |
javax.ejb.EJBObject |
getEjbObject(Object primaryKey)
Return a proxy for the EJB's remote interface. |
static org.apache.geronimo.gbean.GBeanInfo |
getGBeanInfo()
|
javax.ejb.Handle |
getHandle()
|
Serializable |
getHomeTxPolicyConfig()
CORBA home transaction import policy configuration |
String[] |
getJndiNames()
|
String[] |
getLocalJndiNames()
|
int |
getMethodIndex(Method method)
|
ProxyInfo |
getProxyInfo()
|
Serializable |
getRemoteTxPolicyConfig()
CORBA remote transaction import policy configuration |
InterfaceMethodSignature[] |
getSignatures()
|
EJBContainer |
getUnmanagedReference()
|
org.apache.geronimo.core.service.InvocationResult |
invoke(org.apache.geronimo.core.service.Invocation invocation)
|
Object |
invoke(Method callMethod,
Object[] args,
Object primKey)
Legacy invoke method for openejb 1.0 code |
Methods inherited from class org.apache.geronimo.j2ee.mejb.MEJB |
getAttribute, getAttributes, getDefaultDomain, getEJBHome, getListenerRegistry, getMBeanCount, getMBeanInfo, getObjectName, getPrimaryKey, invoke, isEventProvider, isIdentical, isRegistered, isStateManageable, isStatisticsProvider, queryNames, remove, setAttribute, setAttributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail |
public MEJB(org.apache.geronimo.gbean.AbstractName abstractName, org.apache.geronimo.system.jmx.MBeanServerReference mbeanServerReference)
public MEJB(String containerId, javax.management.MBeanServer mbeanServer)
Method Detail |
public Object getContainerID()
EJBContainer
getContainerID
in interface EJBContainer
public String getEjbName()
EJBContainer
getEjbName
in interface EJBContainer
public javax.ejb.EJBHome getEjbHome()
EJBContainer
getEjbHome
in interface EJBContainer
public javax.ejb.EJBObject getEjbObject(Object primaryKey)
EJBContainer
getEjbObject
in interface EJBContainer
public javax.ejb.EJBLocalHome getEjbLocalHome()
EJBContainer
getEjbLocalHome
in interface EJBContainer
public javax.ejb.EJBLocalObject getEjbLocalObject(Object primaryKey)
EJBContainer
getEjbLocalObject
in interface EJBContainer
public javax.ejb.Handle getHandle()
getHandle
in interface javax.ejb.EJBObject
public Object invoke(Method callMethod, Object[] args, Object primKey) throws Throwable
EJBContainer
invoke
in interface EJBContainer
callMethod
- the method object for the method called on the interfaceargs
- arguemnts to the methodprimKey
- primary key of the instance to invoke
Throwable
- if a problem occurs while calling the beanpublic String[] getJndiNames()
getJndiNames
in interface EJBContainer
public String[] getLocalJndiNames()
getLocalJndiNames
in interface EJBContainer
public ClassLoader getClassLoader()
getClassLoader
in interface EJBContainer
public EJBContainer getUnmanagedReference()
getUnmanagedReference
in interface EJBContainer
public int getMethodIndex(Method method)
getMethodIndex
in interface EJBContainer
public InterfaceMethodSignature[] getSignatures()
getSignatures
in interface EJBContainer
public ProxyInfo getProxyInfo()
getProxyInfo
in interface EJBContainer
public Subject getDefaultSubject()
EJBContainer
getDefaultSubject
in interface EJBContainer
ContextManager.registerSubject(javax.security.auth.Subject)
public Serializable getHomeTxPolicyConfig()
EJBContainer
getHomeTxPolicyConfig
in interface EJBContainer
public Serializable getRemoteTxPolicyConfig()
EJBContainer
getRemoteTxPolicyConfig
in interface EJBContainer
public org.apache.geronimo.core.service.InvocationResult invoke(org.apache.geronimo.core.service.Invocation invocation) throws Throwable
invoke
in interface org.apache.geronimo.core.service.Interceptor
Throwable
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |