org.jboss.ejb3.nointerface.factory
Class MCAwareStatefulNoInterfaceViewFactory
java.lang.Object
org.jboss.ejb3.nointerface.factory.NoInterfaceEJBViewFactoryBase
org.jboss.ejb3.nointerface.factory.MCAwareStatefulNoInterfaceViewFactory
- All Implemented Interfaces:
- NoInterfaceViewFactory
public class MCAwareStatefulNoInterfaceViewFactory
- extends NoInterfaceEJBViewFactoryBase
StatefulNoInterfaceViewFactory
Responsible for (not necessarily in the following order)
- Creating a session from the stateful container
- Creating the no-interface view for a stateful session bean
|
Field Summary |
protected java.lang.Class<?> |
beanClass
The bean class |
protected org.jboss.kernel.spi.dependency.KernelControllerContext |
endpointContext
The KernelControllerContext corresponding to the container of a bean for which
the no-interface view is to be created by this factory. |
|
Method Summary |
java.lang.Object |
createNoInterfaceView()
Creates the no-interface view and other necessary steps including (session creation)
for the bean |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
beanClass
protected java.lang.Class<?> beanClass
- The bean class
endpointContext
protected org.jboss.kernel.spi.dependency.KernelControllerContext endpointContext
- The KernelControllerContext corresponding to the container of a bean for which
the no-interface view is to be created by this factory. This context
may not be in INSTALLED state. This factory is responsible
for pushing it to INSTALLED state whenever necessary.
MCAwareStatefulNoInterfaceViewFactory
public MCAwareStatefulNoInterfaceViewFactory(java.lang.Class<?> beanClass,
org.jboss.kernel.spi.dependency.KernelControllerContext containerContext)
- Constructor
- Parameters:
beanClass - container - statefulSessionFactory -
createNoInterfaceView
public java.lang.Object createNoInterfaceView()
throws java.lang.Exception
- Creates the no-interface view and other necessary steps including (session creation)
for the bean
- Returns:
-
- Throws:
java.lang.Exception