|
|||||||||||
| 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,
Map componentContext,
org.apache.geronimo.transaction.context.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,
org.apache.geronimo.security.deploy.DefaultPrincipal defaultPrincipal,
Subject runAsSubject,
TSSBean tssBean,
Serializable homeTxPolicyConfig,
Serializable remoteTxPolicyConfig,
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()
|
Serializable |
getHomeTxPolicyConfig()
CORBA home transaction import policy configuration |
String[] |
getJndiNames()
|
String[] |
getLocalJndiNames()
|
int |
getMethodIndex(Method method)
|
String |
getObjectName()
|
ProxyInfo |
getProxyInfo()
|
Serializable |
getRemoteTxPolicyConfig()
CORBA remote transaction import policy configuration |
InterfaceMethodSignature[] |
getSignatures()
|
javax.ejb.Timer |
getTimerById(Long id)
|
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 |
boolean |
isEventProvider()
|
boolean |
isStateManageable()
|
boolean |
isStatisticsProvider()
|
| 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,
Map componentContext,
org.apache.geronimo.transaction.context.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,
org.apache.geronimo.security.deploy.DefaultPrincipal defaultPrincipal,
Subject runAsSubject,
TSSBean tssBean,
Serializable homeTxPolicyConfig,
Serializable remoteTxPolicyConfig,
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 Serializable getHomeTxPolicyConfig()
EJBContainer
getHomeTxPolicyConfig in interface EJBContainerpublic Serializable getRemoteTxPolicyConfig()
EJBContainer
getRemoteTxPolicyConfig in interface EJBContainerpublic int getMethodIndex(Method method)
getMethodIndex in interface EJBContainerpublic InterfaceMethodSignature[] getSignatures()
getSignatures in interface EJBContainerpublic EJBContainer getUnmanagedReference()
getUnmanagedReference in interface EJBContainerpublic javax.ejb.Timer getTimerById(Long id)
public void doStart()
throws Exception
doStart in interface org.apache.geronimo.gbean.GBeanLifecycleException
public void doStop()
throws Exception
doStop in interface org.apache.geronimo.gbean.GBeanLifecycleExceptionpublic void doFail()
doFail in interface org.apache.geronimo.gbean.GBeanLifecyclepublic String getObjectName()
getObjectName in interface org.apache.geronimo.management.J2EEManagedObjectpublic boolean isStateManageable()
isStateManageable in interface org.apache.geronimo.management.J2EEManagedObjectpublic boolean isStatisticsProvider()
isStatisticsProvider in interface org.apache.geronimo.management.J2EEManagedObjectpublic boolean isEventProvider()
isEventProvider in interface org.apache.geronimo.management.J2EEManagedObjectpublic static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||