|
|||||||||||
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.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 Serializable getHomeTxPolicyConfig()
EJBContainer
getHomeTxPolicyConfig
in interface EJBContainer
public Serializable getRemoteTxPolicyConfig()
EJBContainer
getRemoteTxPolicyConfig
in interface EJBContainer
public int getMethodIndex(Method method)
getMethodIndex
in interface EJBContainer
public InterfaceMethodSignature[] getSignatures()
getSignatures
in interface EJBContainer
public EJBContainer getUnmanagedReference()
getUnmanagedReference
in interface EJBContainer
public javax.ejb.Timer getTimerById(Long id)
public void doStart() throws Exception
doStart
in interface org.apache.geronimo.gbean.GBeanLifecycle
Exception
public void doStop() throws Exception
doStop
in interface org.apache.geronimo.gbean.GBeanLifecycle
Exception
public void doFail()
doFail
in interface org.apache.geronimo.gbean.GBeanLifecycle
public String getObjectName()
getObjectName
in interface org.apache.geronimo.management.J2EEManagedObject
public boolean isStateManageable()
isStateManageable
in interface org.apache.geronimo.management.J2EEManagedObject
public boolean isStatisticsProvider()
isStatisticsProvider
in interface org.apache.geronimo.management.J2EEManagedObject
public boolean isEventProvider()
isEventProvider
in interface org.apache.geronimo.management.J2EEManagedObject
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |