|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openejb.GenericEJBContainer
| Field Summary | |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
| Constructor Summary | |
GenericEJBContainer(Object containerId,
String ejbName,
ProxyInfo proxyInfo,
InterfaceMethodSignature[] signatures,
InstanceContextFactory contextFactory,
InterceptorBuilder interceptorBuilder,
InstancePool pool,
org.apache.geronimo.transaction.UserTransactionImpl userTransaction,
String[] jndiNames,
String[] localJndiNames,
org.apache.geronimo.transaction.context.TransactionContextManager transactionContextManager,
org.apache.geronimo.transaction.TrackedConnectionAssociator trackedConnectionAssociator,
org.apache.geronimo.timer.ThreadPooledTimer timer,
String objectName,
org.apache.geronimo.kernel.Kernel kernel,
SecurityConfiguration securityConfiguration,
Subject defaultSubject,
ClassLoader classLoader)
|
|
| Method Summary | |
void |
doFail()
|
void |
doStart()
|
void |
doStop()
|
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()
|
String[] |
getJndiNames()
|
String[] |
getLocalJndiNames()
|
EJBProxyFactory |
getProxyFactory()
|
ProxyInfo |
getProxyInfo()
|
SecurityConfiguration |
getSecurityConfiguration()
|
InterfaceMethodSignature[] |
getSignatures()
|
EJBContainer |
getUnmanagedReference()
|
org.apache.geronimo.core.service.InvocationResult |
invoke(org.apache.geronimo.core.service.Invocation invocation)
|
Object |
invoke(Method method,
Object[] args,
Object primKey)
Legacy invoke method for openejb 1.0 code |
| 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 GenericEJBContainer(Object containerId,
String ejbName,
ProxyInfo proxyInfo,
InterfaceMethodSignature[] signatures,
InstanceContextFactory contextFactory,
InterceptorBuilder interceptorBuilder,
InstancePool pool,
org.apache.geronimo.transaction.UserTransactionImpl userTransaction,
String[] jndiNames,
String[] localJndiNames,
org.apache.geronimo.transaction.context.TransactionContextManager transactionContextManager,
org.apache.geronimo.transaction.TrackedConnectionAssociator trackedConnectionAssociator,
org.apache.geronimo.timer.ThreadPooledTimer timer,
String objectName,
org.apache.geronimo.kernel.Kernel kernel,
SecurityConfiguration securityConfiguration,
Subject defaultSubject,
ClassLoader classLoader)
throws Exception
| Method Detail |
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.InterceptorThrowable
public Object invoke(Method method,
Object[] args,
Object primKey)
throws Throwable
EJBContainer
invoke in interface EJBContainermethod - 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 ClassLoader getClassLoader()
getClassLoader in interface EJBContainerpublic Object getContainerID()
EJBContainer
getContainerID in interface EJBContainerpublic String getEJBName()
EJBContainer
getEJBName in interface EJBContainerpublic String[] getJndiNames()
getJndiNames in interface EJBContainerpublic String[] getLocalJndiNames()
getLocalJndiNames in interface EJBContainerpublic javax.ejb.EJBHome getEJBHome()
EJBContainer
getEJBHome in interface EJBContainerpublic javax.ejb.EJBObject getEJBObject(Object primaryKey)
EJBContainer
getEJBObject in interface EJBContainerpublic javax.ejb.EJBLocalHome getEJBLocalHome()
EJBContainer
getEJBLocalHome in interface EJBContainerpublic javax.ejb.EJBLocalObject getEJBLocalObject(Object primaryKey)
EJBContainer
getEJBLocalObject in interface EJBContainerpublic ProxyInfo getProxyInfo()
getProxyInfo in interface EJBContainerpublic Subject getDefaultSubject()
EJBContainer
getDefaultSubject in interface EJBContainerContextManager.registerSubject(javax.security.auth.Subject)public EJBProxyFactory getProxyFactory()
getProxyFactory in interface EJBContainerpublic InterfaceMethodSignature[] getSignatures()
getSignatures in interface EJBContainerpublic EJBContainer getUnmanagedReference()
getUnmanagedReference in interface EJBContainerpublic SecurityConfiguration getSecurityConfiguration()
public void doStart()
throws org.apache.geronimo.gbean.WaitingException,
Exception
doStart in interface org.apache.geronimo.gbean.GBeanLifecycleorg.apache.geronimo.gbean.WaitingException
Exception
public void doStop()
throws org.apache.geronimo.gbean.WaitingException,
Exception
doStop in interface org.apache.geronimo.gbean.GBeanLifecycleorg.apache.geronimo.gbean.WaitingException
Exceptionpublic void doFail()
doFail in interface org.apache.geronimo.gbean.GBeanLifecyclepublic static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||