public class PGXADataSourceFactory extends PGObjectFactory
| Constructor and Description |
|---|
PGXADataSourceFactory() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment)
Dereferences a PostgreSQL DataSource.
|
getProperty, loadBaseDataSourcepublic Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment) throws Exception
PGObjectFactorygetObjectInstance in interface ObjectFactorygetObjectInstance in class PGObjectFactoryobj - The possibly null object containing location or reference
information that can be used in creating an object.name - The name of this object relative to nameCtx,
or null if no name is specified.nameCtx - The context relative to which the name
parameter is specified, or null if name is
relative to the default initial context.environment - The possibly null environment that is used in
creating the object.Exception - if this object factory encountered an exception
while attempting to create an object, and no other object factories are
to be tried.NamingManager.getObjectInstance(java.lang.Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable<?, ?>),
NamingManager.getURLContext(java.lang.String, java.util.Hashtable<?, ?>)Copyright © 2018 PostgreSQL Global Development Group. All rights reserved.