|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb3.EJBContainer
org.jboss.ejb3.session.SessionContainer
org.jboss.ejb3.session.SessionSpecContainer
public abstract class SessionSpecContainer
SessionSpecContainer A SessionContainer with support for Session Beans defined specifically by the EJB3 Specification
Field Summary | |
---|---|
protected static ThreadLocalStack<org.jboss.ejb3.common.lang.SerializableMethod> |
invokedMethod
Deprecated. |
Fields inherited from class org.jboss.ejb3.session.SessionContainer |
---|
proxyDeployer |
Fields inherited from class org.jboss.ejb3.EJBContainer |
---|
assembly, beanClassName, classloader, defaultConstructorIndex, ejbName, enc, encFactory, encInjections, encInjectors, ENTITY_MANAGER_FACTORY, initialContextProperties, injectors, invokeStats, MANAGED_ENTITY_MANAGER_FACTORY, objectName, pool, reinitialize, xml |
Fields inherited from interface org.jboss.ejb3.Container |
---|
ENC_CTX_NAME |
Constructor Summary | |
---|---|
SessionSpecContainer(ClassLoader cl,
String beanClassName,
String ejbName,
org.jboss.aop.Domain domain,
Hashtable ctxProperties,
Ejb3Deployment deployment,
org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData beanMetaData)
|
Method Summary | |
---|---|
Class<?> |
getInvokedBusinessInterface()
Fulfills javax.ejb.SessionContext.getInvokedBusinessInterface() Returns the name of the invoking EJB3 Business Interface |
Object |
invoke(Object proxy,
org.jboss.ejb3.common.lang.SerializableMethod method,
Object[] args)
Invokes the method described by the specified serializable method as called from the specified proxy, using the specified arguments |
Object |
invoke(Serializable session,
Class<?> invokedBusinessInterface,
Method method,
Object[] args)
Invokes the specified method upon the specified session, passing the specified arguments. |
Object |
invoke(Serializable session,
org.jboss.ejb3.common.lang.SerializableMethod method,
Object[] args)
Deprecated. |
protected Object |
invokeHomeCreate(Method method,
Object[] args)
Provides implementation for this bean's EJB 2.1 Home.create() method |
protected boolean |
isEJBObjectMethod(Method method)
Deprecated. Use isEjbObjectMethod(SerializableMethod method) |
protected boolean |
isEjbObjectMethod(org.jboss.ejb3.common.lang.SerializableMethod method)
Determines whether the specified method is an EJB2.x Local or Remote Method |
protected boolean |
isHandleMethod(Method method)
Deprecated. Use isHandleMethod(SerializableMethod method) |
protected boolean |
isHandleMethod(org.jboss.ejb3.common.lang.SerializableMethod method)
Determines if the specified Method is a Handle Method |
protected boolean |
isHomeMethod(Method method)
Deprecated. Use isHomeMethod(SerializableMethod method) in SessionSpecContainer |
protected boolean |
isHomeMethod(org.jboss.ejb3.common.lang.SerializableMethod method)
Determines whether the specified method is an EJB2.x Home Method |
protected void |
lockedStart()
Lifecycle Start |
protected void |
lockedStop()
Lifecycle Stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.ejb3.proxy.spi.container.InvokableContext |
---|
dynamicInvoke |
Methods inherited from interface org.jboss.ejb3.Container |
---|
getMBean, getTimerService, getTimerService |
Field Detail |
---|
@Deprecated protected static ThreadLocalStack<org.jboss.ejb3.common.lang.SerializableMethod> invokedMethod
Constructor Detail |
---|
public SessionSpecContainer(ClassLoader cl, String beanClassName, String ejbName, org.jboss.aop.Domain domain, Hashtable ctxProperties, Ejb3Deployment deployment, org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData beanMetaData) throws ClassNotFoundException
ClassNotFoundException
Method Detail |
---|
public Object invoke(Serializable session, Class<?> invokedBusinessInterface, Method method, Object[] args) throws Throwable
Endpoint
interface and is the correct implementation
of the ejb3-core containers looking forward.
invoke
in interface org.jboss.ejb3.endpoint.Endpoint
session
- invokedBusinessInterface
- method
- args
-
Throwable
Endpoint.invoke(java.io.Serializable, java.lang.Class, java.lang.reflect.Method, java.lang.Object[])
@Deprecated public Object invoke(Serializable session, org.jboss.ejb3.common.lang.SerializableMethod method, Object[] args) throws Throwable
session
- method
- args
-
Throwable
public Object invoke(Object proxy, org.jboss.ejb3.common.lang.SerializableMethod method, Object[] args) throws Throwable
invoke
in interface org.jboss.ejb3.proxy.spi.container.InvokableContext
proxy
- The proxy making the invocationmethod
- The method to be invokedargs
- The arguments to the invocation
Throwable
- A possible exception thrown by the invocationpublic Class<?> getInvokedBusinessInterface()
3.0 Core Specification 4.5.2 for allowable context in
which this may be invoked
protected Object invokeHomeCreate(Method method, Object[] args) throws Exception
factory
- unadvisedMethod
- args
-
Exception
@Deprecated protected boolean isHomeMethod(Method method)
protected boolean isHomeMethod(org.jboss.ejb3.common.lang.SerializableMethod method)
method
-
@Deprecated protected boolean isEJBObjectMethod(Method method)
method
-
protected boolean isEjbObjectMethod(org.jboss.ejb3.common.lang.SerializableMethod method)
method
-
@Deprecated protected boolean isHandleMethod(Method method)
method
-
protected boolean isHandleMethod(org.jboss.ejb3.common.lang.SerializableMethod method)
method
-
protected void lockedStart() throws Exception
lockedStart
in class SessionContainer
Exception
protected void lockedStop() throws Exception
lockedStop
in class SessionContainer
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |