Package org.apache.naming.factory
Class OpenEjbFactory
java.lang.Object
org.apache.naming.factory.OpenEjbFactory
- All Implemented Interfaces:
ObjectFactory
Object factory for EJBs.
- Author:
- Jacek Laskowski, Remy Maucherat
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
DEFAULT_OPENEJB_FACTORY
- See Also:
-
-
Constructor Details
-
OpenEjbFactory
public OpenEjbFactory()
-
-
Method Details
-
getObjectInstance
public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) throws ExceptionCreate a new EJB instance using OpenEJB.- Specified by:
getObjectInstance
in interfaceObjectFactory
- Parameters:
obj
- The reference object describing the DataSource- Throws:
Exception
-