org.jboss.ejb3.nointerface.factory
Interface NoInterfaceViewFactory
- All Known Implementing Classes:
- MCAwareStatefulNoInterfaceViewFactory, NoInterfaceEJBViewFactoryBase
public interface NoInterfaceViewFactory
NoInterfaceViewFactory
Factory for creating no-interface view for a bean
|
Method Summary |
|
createView(java.lang.reflect.InvocationHandler invocationHandler,
java.lang.Class<T> beanClass)
Creates a no-interface view for the EJB represented by the
beanClass |
createView
<T> T createView(java.lang.reflect.InvocationHandler invocationHandler,
java.lang.Class<T> beanClass)
throws java.lang.Exception
- Creates a no-interface view for the EJB represented by the
beanClass
- Type Parameters:
T - - Parameters:
invocationHandler - The invocation handler responsible for handling
requests on the no-interface view returned by this
methodbeanClass - The bean class (no validation on the Class is done to check for EJB semantics)
- Returns:
- Returns the no-interface view for the
beanClass
- Throws:
java.lang.Exception - If any exceptions are encountered during the no-interface view creation