Package org.apache.naming.factory
Class LookupFactory
java.lang.Object
org.apache.naming.factory.LookupFactory
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
LookupFactory
public LookupFactory()
-
-
Method Details
-
getObjectInstance
public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) throws ExceptionCreate a new Resource env instance.- Specified by:
getObjectInstance
in interfaceObjectFactory
- Parameters:
obj
- The reference object describing the DataSourcename
- the bound namenameCtx
- unusedenvironment
- unused- Returns:
- the object instance
- Throws:
Exception
- if an error occur creating the instance
-