|
|||||||||
| 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.TimerServiceContainer
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 |
|---|
| Fields inherited from class org.jboss.ejb3.session.SessionContainer |
|---|
proxyDeployer |
| Fields inherited from class org.jboss.ejb3.TimerServiceContainer |
|---|
timerService |
| Fields inherited from class org.jboss.ejb3.EJBContainer |
|---|
assembly, beanClassName, classloader, ejbName, enc, encFactory, encInjections, encInjectors, ENTITY_MANAGER_FACTORY, initialContextProperties, injectors, invokeStats, MANAGED_ENTITY_MANAGER_FACTORY, metadataBasedAnnotationRepo, objectName, pool, reinitialize, xml |
| Fields inherited from interface org.jboss.ejb3.Container |
|---|
ENC_CTX_NAME |
| Constructor Summary | |
|---|---|
SessionSpecContainer(java.lang.ClassLoader cl,
java.lang.String beanClassName,
java.lang.String ejbName,
org.jboss.aop.Domain domain,
java.util.Hashtable ctxProperties,
Ejb3Deployment deployment,
org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData beanMetaData,
java.util.concurrent.ExecutorService asynchronousExecutor)
|
|
SessionSpecContainer(java.lang.ClassLoader cl,
java.lang.String beanClassName,
java.lang.String ejbName,
org.jboss.aop.Domain domain,
java.util.Hashtable ctxProperties,
org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData beanMetaData,
java.util.concurrent.ExecutorService asynchronousExecutor)
|
|
| Method Summary | |
|---|---|
boolean |
cancel(org.jboss.ejb3.async.spi.AsyncInvocationId id)
|
java.util.concurrent.ExecutorService |
getAsynchronousExecutor()
Returns the ExecutorService used in processing Asynchronous invocations |
protected java.util.Set<java.lang.Class<?>> |
getBusinessInterfaces()
Returns the busines interfaces for this EJB |
protected BusinessObjectFactory |
getBusinessObjectFactory()
|
org.jboss.ejb3.async.spi.AsyncInvocationMap |
getCurrentAsyncInvocations()
|
java.lang.Object |
invoke(java.lang.Object proxy,
org.jboss.ejb3.common.lang.SerializableMethod method,
java.lang.Object[] args)
Invokes the method described by the specified serializable method as called from the specified proxy, using the specified arguments |
java.lang.Object |
invoke(java.io.Serializable session,
java.lang.Class<?> invokedBusinessInterface,
java.lang.reflect.Method method,
java.lang.Object[] args)
Invokes the specified method upon the specified session, passing the specified arguments. |
java.lang.Object |
invoke(java.io.Serializable session,
org.jboss.ejb3.common.lang.SerializableMethod method,
java.lang.Object[] args)
Deprecated. |
java.lang.Object |
invokeAsync(java.io.Serializable session,
java.lang.Class<?> invokedBusinessInterface,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
protected java.lang.Object |
invokeHomeCreate(java.lang.reflect.Method method,
java.lang.Object[] args)
Provides implementation for this bean's EJB 2.1 Home.create() method |
protected boolean |
isEJBObjectMethod(java.lang.reflect.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(java.lang.reflect.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(java.lang.reflect.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 |
void |
setBusinessObjectFactory(BusinessObjectFactory factory)
|
void |
setCurrentAsyncInvocations(org.jboss.ejb3.async.spi.AsyncInvocationMap currentAsyncInvocations)
|
protected void |
verifyBusinessObjectFactory()
|
| Methods inherited from class org.jboss.ejb3.TimerServiceContainer |
|---|
afterStart, create, getTimedObjectInvoker, getTimerService, getTimerService, setTimerServiceFactory |
| 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.context.spi.BeanManager |
|---|
getEJBHome, getEJBLocalHome, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, lookup, setRollbackOnly |
| Methods inherited from interface org.jboss.ejb3.Container |
|---|
getMBean |
| Constructor Detail |
|---|
public SessionSpecContainer(java.lang.ClassLoader cl,
java.lang.String beanClassName,
java.lang.String ejbName,
org.jboss.aop.Domain domain,
java.util.Hashtable ctxProperties,
Ejb3Deployment deployment,
org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData beanMetaData,
java.util.concurrent.ExecutorService asynchronousExecutor)
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public SessionSpecContainer(java.lang.ClassLoader cl,
java.lang.String beanClassName,
java.lang.String ejbName,
org.jboss.aop.Domain domain,
java.util.Hashtable ctxProperties,
org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData beanMetaData,
java.util.concurrent.ExecutorService asynchronousExecutor)
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException| Method Detail |
|---|
public java.lang.Object invoke(java.io.Serializable session,
java.lang.Class<?> invokedBusinessInterface,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
Endpoint interface and is the correct implementation
of the ejb3-core containers looking forward.
invoke in interface org.jboss.ejb3.endpoint.Endpointsession - invokedBusinessInterface - method - args -
java.lang.ThrowableEndpoint.invoke(java.io.Serializable, java.lang.Class, java.lang.reflect.Method, java.lang.Object[])
public java.lang.Object invokeAsync(java.io.Serializable session,
java.lang.Class<?> invokedBusinessInterface,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
invokeAsync in interface org.jboss.ejb3.async.spi.AsyncEndpointjava.lang.ThrowableAsyncEndpoint.invokeAsync(java.io.Serializable, java.lang.Class, java.lang.reflect.Method, java.lang.Object[])
@Deprecated
public java.lang.Object invoke(java.io.Serializable session,
org.jboss.ejb3.common.lang.SerializableMethod method,
java.lang.Object[] args)
throws java.lang.Throwable
session - method - args -
java.lang.Throwable
public java.lang.Object invoke(java.lang.Object proxy,
org.jboss.ejb3.common.lang.SerializableMethod method,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface org.jboss.ejb3.proxy.spi.container.InvokableContextproxy - The proxy making the invocationmethod - The method to be invokedargs - The arguments to the invocation
java.lang.Throwable - A possible exception thrown by the invocation
public boolean cancel(org.jboss.ejb3.async.spi.AsyncInvocationId id)
throws java.lang.IllegalArgumentException
cancel in interface org.jboss.ejb3.async.spi.AsyncCancellableContextjava.lang.IllegalArgumentExceptionAsyncCancellableContext.cancel(org.jboss.ejb3.async.spi.AsyncInvocationId)
protected java.lang.Object invokeHomeCreate(java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Exception
factory - unadvisedMethod - args -
java.lang.Exception@Deprecated protected boolean isHomeMethod(java.lang.reflect.Method method)
protected boolean isHomeMethod(org.jboss.ejb3.common.lang.SerializableMethod method)
method -
@Deprecated protected boolean isEJBObjectMethod(java.lang.reflect.Method method)
method -
protected boolean isEjbObjectMethod(org.jboss.ejb3.common.lang.SerializableMethod method)
method -
@Deprecated protected boolean isHandleMethod(java.lang.reflect.Method method)
method -
protected boolean isHandleMethod(org.jboss.ejb3.common.lang.SerializableMethod method)
method -
protected java.util.Set<java.lang.Class<?>> getBusinessInterfaces()
protected BusinessObjectFactory getBusinessObjectFactory()
protected void lockedStart()
throws java.lang.Exception
lockedStart in class SessionContainerjava.lang.Exception
protected void lockedStop()
throws java.lang.Exception
lockedStop in class SessionContainerjava.lang.ExceptionEJBContainer.lockedStop()public java.util.concurrent.ExecutorService getAsynchronousExecutor()
ExecutorService used in processing Asynchronous invocations
public void setBusinessObjectFactory(BusinessObjectFactory factory)
protected void verifyBusinessObjectFactory()
public org.jboss.ejb3.async.spi.AsyncInvocationMap getCurrentAsyncInvocations()
public void setCurrentAsyncInvocations(org.jboss.ejb3.async.spi.AsyncInvocationMap currentAsyncInvocations)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||