|
|||||||||
| 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
org.jboss.ejb3.stateless.StatelessContainer
public class StatelessContainer
Comment
| 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 | |
|---|---|
StatelessContainer(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)
|
|
| Method Summary | ||
|---|---|---|
void |
callTimeout(javax.ejb.Timer timer)
|
|
void |
callTimeout(javax.ejb.Timer timer,
java.lang.reflect.Method tMethod)
Invokes the passed timeout method for the passed Timer, on a bean instance. |
|
BeanContext<?> |
createBeanContext()
Create a bean context for use in a pool. |
|
java.lang.Object |
createProxyLocalEjb21()
|
|
java.lang.Object |
createProxyLocalEjb21(org.jboss.ejb3.annotation.LocalBinding binding)
Create a local proxy (EJBLocalObject) for an enterprise bean with the specified LocalBinding |
|
java.lang.Object |
createProxyRemoteEjb21()
|
|
java.lang.Object |
createProxyRemoteEjb21(org.jboss.ejb3.annotation.RemoteBinding binding)
|
|
java.io.Serializable |
createSession(java.lang.Class<?>[] initTypes,
java.lang.Object[] initArgs)
Create session to an EJB bean. |
|
org.jboss.aop.joinpoint.InvocationResponse |
dynamicInvoke(org.jboss.aop.joinpoint.Invocation invocation)
Remote Invocation entry point, as delegated from InvokableContextClassProxyHack (Remoting Dispatcher) |
|
|
getBusinessObject(BeanContext<?> ctx,
java.lang.Class<T> intf)
|
|
java.lang.String |
getContainerName()
|
|
protected java.lang.String |
getJndiRegistrarBindName()
Returns the name under which the JNDI Registrar for this container is bound |
|
java.lang.Object |
getMBean()
|
|
java.lang.Class |
getServiceImplementationClass()
WS integration |
|
java.lang.String |
getTimedObjectId()
|
|
protected org.jboss.ejb3.timerservice.spi.TimedObjectInvoker |
getTimedObjectInvoker()
Returns the TimedObjectInvoker which will be used by the
timer implementations to invoke the timeout method (annotated with Timeout
or specified in deployment descriptor) on the bean. |
|
protected java.lang.Object |
invokeEJBObjectMethod(org.jboss.aop.MethodInfo info,
org.jboss.aop.joinpoint.MethodInvocation invocation)
|
|
java.lang.Object |
invokeEndpoint(java.lang.reflect.Method method,
java.lang.Object[] args,
org.jboss.wsf.spi.invocation.integration.InvocationContextCallback invCtxCallback)
WS Integration |
|
protected java.lang.Object |
invokeHomeMethod(org.jboss.aop.MethodInfo info,
org.jboss.aop.joinpoint.MethodInvocation invocation)
|
|
boolean |
isClustered()
|
|
java.lang.Object |
localHomeInvoke(java.lang.reflect.Method method,
java.lang.Object[] args)
|
|
java.lang.Object |
localInvoke(java.lang.reflect.Method method,
java.lang.Object[] args)
Performs a synchronous local invocation |
|
java.lang.Object |
localInvoke(java.lang.reflect.Method method,
java.lang.Object[] args,
BeanContextLifecycleCallback<StatelessBeanContext> callback)
|
|
java.lang.Object |
localInvoke(java.lang.Object id,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
|
protected void |
removeHandle(javax.ejb.Handle handle)
|
|
protected void |
verifyBusinessObjectFactory()
|
|
| Methods inherited from class org.jboss.ejb3.session.SessionSpecContainer |
|---|
cancel, getAsynchronousExecutor, getBusinessInterfaces, getBusinessObjectFactory, getCurrentAsyncInvocations, invoke, invoke, invoke, invokeAsync, invokeHomeCreate, isEJBObjectMethod, isEjbObjectMethod, isHandleMethod, isHandleMethod, isHomeMethod, isHomeMethod, lockedStart, lockedStop, setBusinessObjectFactory, setCurrentAsyncInvocations |
| Methods inherited from class org.jboss.ejb3.TimerServiceContainer |
|---|
afterStart, create, 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 |
|---|
invoke |
| Methods inherited from interface org.jboss.ejb3.context.spi.BeanManager |
|---|
getEJBHome, getEJBLocalHome, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, lookup, setRollbackOnly |
| Constructor Detail |
|---|
public StatelessContainer(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| Method Detail |
|---|
public BeanContext<?> createBeanContext()
Container
createBeanContext in interface ContainercreateBeanContext in class EJBContainer
public java.lang.Object createProxyLocalEjb21()
throws java.lang.Exception
java.lang.Exception
public java.lang.Object createProxyLocalEjb21(org.jboss.ejb3.annotation.LocalBinding binding)
throws java.lang.Exception
id -
java.lang.Exception
public java.lang.Object createProxyRemoteEjb21()
throws java.lang.Exception
java.lang.Exception
public java.lang.Object createProxyRemoteEjb21(org.jboss.ejb3.annotation.RemoteBinding binding)
throws java.lang.Exception
java.lang.Exception
public java.io.Serializable createSession(java.lang.Class<?>[] initTypes,
java.lang.Object[] initArgs)
SessionContainer
createSession in class SessionContainerinitTypes - the parameter types used by the home's create methodinitArgs - the arguments for the home's create method
public boolean isClustered()
isClustered in interface ContainerisClustered in class EJBContainerpublic java.lang.Object getMBean()
getMBean in interface Container
public void callTimeout(javax.ejb.Timer timer)
throws java.lang.Exception
callTimeout in interface org.jboss.ejb3.timerservice.spi.TimedObjectInvokerjava.lang.Exception
public java.lang.Object localInvoke(java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
java.lang.Throwable
public java.lang.Object localInvoke(java.lang.Object id,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
localInvoke in class SessionContainerjava.lang.Throwable
public java.lang.Object localInvoke(java.lang.reflect.Method method,
java.lang.Object[] args,
BeanContextLifecycleCallback<StatelessBeanContext> callback)
throws java.lang.Throwable
java.lang.Throwable
public org.jboss.aop.joinpoint.InvocationResponse dynamicInvoke(org.jboss.aop.joinpoint.Invocation invocation)
throws java.lang.Throwable
dynamicInvoke in interface org.jboss.ejb3.proxy.spi.container.InvokableContextdynamicInvoke in class SessionContainerjava.lang.Throwable
protected java.lang.Object invokeEJBObjectMethod(org.jboss.aop.MethodInfo info,
org.jboss.aop.joinpoint.MethodInvocation invocation)
throws java.lang.Throwable
java.lang.Throwable
public java.lang.Object localHomeInvoke(java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
localHomeInvoke in class SessionContainerjava.lang.Throwable
protected java.lang.Object invokeHomeMethod(org.jboss.aop.MethodInfo info,
org.jboss.aop.joinpoint.MethodInvocation invocation)
throws java.lang.Throwable
java.lang.Throwable
public <T> T getBusinessObject(BeanContext<?> ctx,
java.lang.Class<T> intf)
getBusinessObject in class EJBContainerprotected void removeHandle(javax.ejb.Handle handle)
removeHandle in class SessionContainerpublic java.lang.Class getServiceImplementationClass()
getServiceImplementationClass in interface org.jboss.wsf.spi.invocation.integration.ServiceEndpointContainer
public java.lang.Object invokeEndpoint(java.lang.reflect.Method method,
java.lang.Object[] args,
org.jboss.wsf.spi.invocation.integration.InvocationContextCallback invCtxCallback)
throws java.lang.Throwable
invokeEndpoint in interface org.jboss.wsf.spi.invocation.integration.ServiceEndpointContainermethod - args - invCtxCallback -
java.lang.Throwablepublic java.lang.String getContainerName()
getContainerName in interface org.jboss.wsf.spi.invocation.integration.ServiceEndpointContainerprotected java.lang.String getJndiRegistrarBindName()
getJndiRegistrarBindName in class SessionContainerpublic java.lang.String getTimedObjectId()
getTimedObjectId in interface org.jboss.ejb3.timerservice.spi.TimedObjectInvokerTimedObjectInvoker.getTimedObjectId()protected org.jboss.ejb3.timerservice.spi.TimedObjectInvoker getTimedObjectInvoker()
TimerServiceContainerTimedObjectInvoker which will be used by the
timer implementations to invoke the timeout method (annotated with Timeout
or specified in deployment descriptor) on the bean.
getTimedObjectInvoker in class TimerServiceContainer
public void callTimeout(javax.ejb.Timer timer,
java.lang.reflect.Method tMethod)
throws java.lang.Exception
Timer, on a bean instance.
callTimeout in interface org.jboss.ejb3.timerservice.spi.MultiTimeoutMethodTimedObjectInvokertimer - The Timer for which the timeout has occurredtMethod - The timeout method
java.lang.Exception - If any exception occurs during invocation of timeout method on the target bean
{@link - NullPointerException} If the passed tMethod is nullprotected void verifyBusinessObjectFactory()
verifyBusinessObjectFactory in class SessionSpecContainer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||