org.apache.naming.factory
Class ResourceFactory
java.lang.Object
org.apache.naming.factory.ResourceFactory
- All Implemented Interfaces:
- ObjectFactory
public class ResourceFactory
- extends Object
- implements ObjectFactory
Object factory for Resources.
- Version:
- $Id: ResourceFactory.java 1056946 2011-01-09 14:48:08Z markt $
- Author:
- Remy Maucherat
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceFactory
public ResourceFactory()
getObjectInstance
public Object getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment)
throws Exception
- Crete a new DataSource instance.
- Specified by:
getObjectInstance
in interface ObjectFactory
- Parameters:
obj
- The reference object describing the DataSource
- Throws:
Exception
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.