public class GenericNamingResourcesFactory
extends java.lang.Object
implements javax.naming.spi.ObjectFactory
<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 and Description |
---|
GenericNamingResourcesFactory() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
capitalize(java.lang.String name) |
java.lang.Object |
getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable<?,?> environment) |
public java.lang.Object getObjectInstance(java.lang.Object obj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable<?,?> environment) throws java.lang.Exception
getObjectInstance
in interface javax.naming.spi.ObjectFactory
java.lang.Exception
public static java.lang.String capitalize(java.lang.String name)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.