org.apache.naming.factory
Class ResourceLinkFactory
java.lang.Object
org.apache.naming.factory.ResourceLinkFactory
- ObjectFactory
public class ResourceLinkFactory
extends java.lang.Object
implements ObjectFactory
Object factory for resource links.
Version:
- Remy Maucherat
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).
|
getObjectInstance
public Object getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable environment)
throws NamingException
Create a new DataSource instance.
obj
- The reference object describing the DataSource
setGlobalContext
public static void setGlobalContext(Context newGlobalContext)
Set the global context (note: can only be used once).
newGlobalContext
- new global context value
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.