public class ProjectStageJndiFactory extends Object implements ObjectFactory
Constructor and Description |
---|
ProjectStageJndiFactory() |
Modifier and Type | Method and Description |
---|---|
Object |
getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment)
Lookup the configured stage by looking for the parameter
stage |
public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment) throws Exception
stage.
If the value of stage
cannot be determined, the default
ProjectStage.Production
is returned.
getObjectInstance
in interface ObjectFactory
Exception
ObjectFactory.getObjectInstance(Object, javax.naming.Name, javax.naming.Context,
java.util.Hashtable)
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.