getObjectInstance
public Object getObjectInstance(Object refObj,
Name name,
Context nameCtx,
Hashtable env)
throws Exception
- Specified by:
getObjectInstance
in interface ObjectFactory
- Parameters:
obj
- Reference information that can be used in creating an object.
name
- of this object relative to nameCtx (optional).
nameCtx
- context relative to which the name parameter specified.
If null, name is relative to the default initial context.
environment
- possibly null environment used in creating the object.
- Returns:
- object created; null if an object cannot be created.
- Throws:
Exception
- if this object factory encountered
an exception while attempting to create an object.