|
|||||||||||
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.Interceptor
Throwable
public Object invoke(Method method, Object[] args, Object primKey) throws Throwable
EJBContainer
invoke
in interface EJBContainer
method
- 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 EJBContainer
public Object getContainerID()
EJBContainer
getContainerID
in interface EJBContainer
public String getEJBName()
EJBContainer
getEJBName
in interface EJBContainer
public String[] getJndiNames()
getJndiNames
in interface EJBContainer
public String[] getLocalJndiNames()
getLocalJndiNames
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 ProxyInfo getProxyInfo()
getProxyInfo
in interface EJBContainer
public Subject getDefaultSubject()
EJBContainer
getDefaultSubject
in interface EJBContainer
ContextManager.registerSubject(javax.security.auth.Subject)
public EJBProxyFactory getProxyFactory()
getProxyFactory
in interface EJBContainer
public InterfaceMethodSignature[] getSignatures()
getSignatures
in interface EJBContainer
public EJBContainer getUnmanagedReference()
getUnmanagedReference
in interface EJBContainer
public SecurityConfiguration getSecurityConfiguration()
public void doStart() throws org.apache.geronimo.gbean.WaitingException, Exception
doStart
in interface org.apache.geronimo.gbean.GBeanLifecycle
org.apache.geronimo.gbean.WaitingException
Exception
public void doStop() throws org.apache.geronimo.gbean.WaitingException, Exception
doStop
in interface org.apache.geronimo.gbean.GBeanLifecycle
org.apache.geronimo.gbean.WaitingException
Exception
public void doFail()
doFail
in interface org.apache.geronimo.gbean.GBeanLifecycle
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |