getObjectInstance
public java.lang.Object getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable<?,?> environment)
throws java.lang.Exception
Lookup the configured stage by looking for the parameter stage.
If the value of stage
cannot be determined, the default
ProjectStage.Production
is returned.
- Specified by:
getObjectInstance
in interface javax.naming.spi.ObjectFactory
- Throws:
java.lang.Exception
- See Also:
ObjectFactory.getObjectInstance(Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable)