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 ObjectFactory
obj
- The reference object describing the DataSourceNamingException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.