Package org.apache.naming.factory
Class LookupFactory
java.lang.Object
org.apache.naming.factory.LookupFactory
- All Implemented Interfaces:
ObjectFactory
Object factory for lookups.
-
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 DataSource- Throws:
Exception
-