Apache Tomcat 7.0.28

org.apache.naming.factory
Class ResourceEnvFactory

java.lang.Object
  extended by org.apache.naming.factory.ResourceEnvFactory
All Implemented Interfaces:
ObjectFactory

public class ResourceEnvFactory
extends Object
implements ObjectFactory

Object factory for Resources env.

Version:
$Id: ResourceEnvFactory.java 1056946 2011-01-09 14:48:08Z markt $
Author:
Remy Maucherat

Constructor Summary
ResourceEnvFactory()
           
 
Method Summary
 Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment)
          Create a new Resource env instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceEnvFactory

public ResourceEnvFactory()
Method Detail

getObjectInstance

public Object getObjectInstance(Object obj,
                                Name name,
                                Context nameCtx,
                                Hashtable<?,?> environment)
                         throws Exception
Create a new Resource env instance.

Specified by:
getObjectInstance in interface ObjectFactory
Parameters:
obj - The reference object describing the DataSource
Throws:
Exception

Apache Tomcat 7.0.28

Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.