Package org.apache.naming.factory
Class OpenEjbFactory
- java.lang.Object
-
- org.apache.naming.factory.OpenEjbFactory
-
- All Implemented Interfaces:
ObjectFactory
public class OpenEjbFactory extends Object implements ObjectFactory
Object factory for EJBs.- Author:
- Jacek Laskowski, Remy Maucherat
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
DEFAULT_OPENEJB_FACTORY
-
Constructor Summary
Constructors Constructor Description OpenEjbFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment)
Create a new EJB instance using OpenEJB.
-
-
-
Field Detail
-
DEFAULT_OPENEJB_FACTORY
protected static final String DEFAULT_OPENEJB_FACTORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getObjectInstance
public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment) throws Exception
Create a new EJB instance using OpenEJB.- Specified by:
getObjectInstance
in interfaceObjectFactory
- Parameters:
obj
- The reference object describing the DataSource- Throws:
Exception
-
-