Package org.apache.tomcat.jdbc.naming
Class GenericNamingResourcesFactory
- java.lang.Object
-
- org.apache.tomcat.jdbc.naming.GenericNamingResourcesFactory
-
- All Implemented Interfaces:
ObjectFactory
public class GenericNamingResourcesFactory extends Object implements ObjectFactory
Simple way of configuring generic resources by using reflection. Example usage:<Resource factory="org.apache.tomcat.jdbc.naming.GenericNamingResourcesFactory" name="jdbc/test" type="org.apache.derby.jdbc.ClientXADataSource" databaseName="sample" createDatabase="create" serverName="localhost" port="1527"/>
-
-
Constructor Summary
Constructors Constructor Description GenericNamingResourcesFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
capitalize(String name)
Object
getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment)
-