public class ResourceLinkFactory extends Object implements ObjectFactory
Object factory for resource links.
| Constructor and Description |
|---|
ResourceLinkFactory() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment)
Create a new DataSource instance.
|
static void |
setGlobalContext(Context newGlobalContext)
Set the global context (note: can only be used once).
|
public static void setGlobalContext(Context newGlobalContext)
newGlobalContext - new global context valuepublic Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment) throws NamingException
getObjectInstance in interface ObjectFactoryobj - The reference object describing the DataSourceNamingExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.