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, loadBaseDataSource
public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment) throws Exception
PGObjectFactory
getObjectInstance
in interface ObjectFactory
getObjectInstance
in class PGObjectFactory
obj
- 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.