public class jdbcDataSourceFactory
extends java.lang.Object
implements javax.naming.spi.ObjectFactory
jdbcDatasource
object instances.| Constructor and Description |
|---|
jdbcDataSourceFactory() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable environment)
Creates a jdbcDatasource object using the location or reference
information specified.
|
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
The Reference object should support the properties, database, user, password.
getObjectInstance in interface javax.naming.spi.ObjectFactoryobj - The reference information used in creating a
jdbcDatasource object.name - ignorednameCtx - ignoredenvironment - ignoredjava.lang.Exception - neverCopyright ? 2001 - 2005 HSQL Development Group. All Rights Reserved.