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 ObjectFactoryExceptionObjectFactory.getObjectInstance(Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable)Copyright © 2010–2019 JBoss by Red Hat. All rights reserved.