|
||||||||||
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
org.jboss.ejb3.stateless.StatelessContainer
public class StatelessContainer
Comment
Field Summary | |
---|---|
protected javax.ejb.TimerService |
timerService
|
Fields inherited from class org.jboss.ejb3.session.SessionSpecContainer |
---|
invokedMethod |
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 | |
---|---|
StatelessContainer(ClassLoader cl,
String beanClassName,
String ejbName,
org.jboss.aop.Domain domain,
Hashtable ctxProperties,
Ejb3Deployment deployment,
org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData beanMetaData)
|
Method Summary | ||
---|---|---|
void |
callTimeout(javax.ejb.Timer timer)
|
|
BeanContext<?> |
createBeanContext()
Create a bean context for use in a pool. |
|
Object |
createProxyLocalEjb21()
|
|
Object |
createProxyLocalEjb21(org.jboss.ejb3.annotation.LocalBinding binding)
Create a local proxy (EJBLocalObject) for an enterprise bean with the specified LocalBinding |
|
Object |
createProxyRemoteEjb21()
|
|
Object |
createProxyRemoteEjb21(org.jboss.ejb3.annotation.RemoteBinding binding)
|
|
Serializable |
createSession(Class<?>[] initTypes,
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,
Class<T> intf)
|
|
String |
getContainerName()
|
|
protected String |
getJndiRegistrarBindName()
Returns the name under which the JNDI Registrar for this container is bound |
|
Object |
getMBean()
|
|
Class |
getServiceImplementationClass()
WS integration |
|
String |
getTimedObjectId()
|
|
javax.ejb.TimerService |
getTimerService()
|
|
javax.ejb.TimerService |
getTimerService(Object pKey)
This method is called by EJBTimerServiceImpl to re-establish a persistent timer. |
|
protected Object |
invokeEJBObjectMethod(org.jboss.aop.MethodInfo info,
org.jboss.aop.joinpoint.MethodInvocation invocation)
|
|
Object |
invokeEndpoint(Method method,
Object[] args,
org.jboss.wsf.spi.invocation.integration.InvocationContextCallback invCtxCallback)
WS Integration |
|
protected Object |
invokeHomeMethod(org.jboss.aop.MethodInfo info,
org.jboss.aop.joinpoint.MethodInvocation invocation)
|
|
boolean |
isClustered()
|
|
Object |
localHomeInvoke(Method method,
Object[] args)
|
|
Object |
localInvoke(Method method,
Object[] args)
Performs a synchronous local invocation |
|
Object |
localInvoke(Method method,
Object[] args,
BeanContextLifecycleCallback<StatelessBeanContext> callback)
|
|
Object |
localInvoke(Object id,
Method method,
Object[] args)
|
|
protected void |
lockedStart()
Lifecycle Start |
|
protected void |
lockedStop()
Lifecycle Stop |
|
protected void |
removeHandle(javax.ejb.Handle handle)
|
|
void |
setTimerServiceFactory(org.jboss.ejb3.timerservice.spi.TimerServiceFactory factory)
|
Methods inherited from class org.jboss.ejb3.session.SessionSpecContainer |
---|
getInvokedBusinessInterface, invoke, invoke, invoke, invokeHomeCreate, isEJBObjectMethod, isEjbObjectMethod, isHandleMethod, isHandleMethod, isHomeMethod, isHomeMethod |
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 |
Field Detail |
---|
protected javax.ejb.TimerService timerService
Constructor Detail |
---|
public StatelessContainer(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 BeanContext<?> createBeanContext()
Container
createBeanContext
in interface Container
createBeanContext
in class EJBContainer
public Object createProxyLocalEjb21() throws Exception
Exception
public Object createProxyLocalEjb21(org.jboss.ejb3.annotation.LocalBinding binding) throws Exception
id
-
Exception
public Object createProxyRemoteEjb21() throws Exception
Exception
public Object createProxyRemoteEjb21(org.jboss.ejb3.annotation.RemoteBinding binding) throws Exception
Exception
public Serializable createSession(Class<?>[] initTypes, Object[] initArgs)
SessionContainer
createSession
in class SessionContainer
initTypes
- the parameter types used by the home's create methodinitArgs
- the arguments for the home's create method
public boolean isClustered()
isClustered
in interface Container
isClustered
in class EJBContainer
public Object getMBean()
getMBean
in interface Container
protected void lockedStart() throws Exception
SessionSpecContainer
lockedStart
in class SessionSpecContainer
Exception
protected void lockedStop() throws Exception
SessionSpecContainer
lockedStop
in class SessionSpecContainer
Exception
public javax.ejb.TimerService getTimerService()
getTimerService
in interface Container
public javax.ejb.TimerService getTimerService(Object pKey)
Container
getTimerService
in interface Container
public void callTimeout(javax.ejb.Timer timer) throws Exception
callTimeout
in interface org.jboss.ejb3.timerservice.spi.TimedObjectInvoker
Exception
public Object localInvoke(Method method, Object[] args) throws Throwable
Throwable
public Object localInvoke(Object id, Method method, Object[] args) throws Throwable
localInvoke
in class SessionContainer
Throwable
public Object localInvoke(Method method, Object[] args, BeanContextLifecycleCallback<StatelessBeanContext> callback) throws Throwable
Throwable
public org.jboss.aop.joinpoint.InvocationResponse dynamicInvoke(org.jboss.aop.joinpoint.Invocation invocation) throws Throwable
dynamicInvoke
in interface org.jboss.ejb3.proxy.spi.container.InvokableContext
dynamicInvoke
in class SessionContainer
Throwable
protected Object invokeEJBObjectMethod(org.jboss.aop.MethodInfo info, org.jboss.aop.joinpoint.MethodInvocation invocation) throws Throwable
Throwable
public Object localHomeInvoke(Method method, Object[] args) throws Throwable
localHomeInvoke
in class SessionContainer
Throwable
protected Object invokeHomeMethod(org.jboss.aop.MethodInfo info, org.jboss.aop.joinpoint.MethodInvocation invocation) throws Throwable
Throwable
public <T> T getBusinessObject(BeanContext<?> ctx, Class<T> intf)
getBusinessObject
in class EJBContainer
protected void removeHandle(javax.ejb.Handle handle)
removeHandle
in class SessionContainer
public Class getServiceImplementationClass()
getServiceImplementationClass
in interface org.jboss.wsf.spi.invocation.integration.ServiceEndpointContainer
public Object invokeEndpoint(Method method, Object[] args, org.jboss.wsf.spi.invocation.integration.InvocationContextCallback invCtxCallback) throws Throwable
invokeEndpoint
in interface org.jboss.wsf.spi.invocation.integration.ServiceEndpointContainer
method
- args
- invCtxCallback
-
Throwable
public String getContainerName()
getContainerName
in interface org.jboss.wsf.spi.invocation.integration.ServiceEndpointContainer
protected String getJndiRegistrarBindName()
getJndiRegistrarBindName
in class SessionContainer
public String getTimedObjectId()
getTimedObjectId
in interface org.jboss.ejb3.timerservice.spi.TimedObjectInvoker
public void setTimerServiceFactory(org.jboss.ejb3.timerservice.spi.TimerServiceFactory factory)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |