Package org.jboss.weld.resources
Class ManagerObjectFactory
- java.lang.Object
-
- org.jboss.weld.resources.ManagerObjectFactory
-
- All Implemented Interfaces:
ObjectFactory
public class ManagerObjectFactory extends Object implements ObjectFactory
-
-
Field Summary
Fields Modifier and Type Field Description static String
FLAT_BEAN_DEPLOYMENT_ID
The id of a bean deployment archive whose BeanManager should be used as a result of a JNDI "java:comp/env/BeanManager" lookup.static String
WEB_INF_CLASSES
static String
WEB_INF_CLASSES_FILE_PATH
-
Constructor Summary
Constructors Constructor Description ManagerObjectFactory()
ManagerObjectFactory(String contextId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment)
-
-
-
Field Detail
-
FLAT_BEAN_DEPLOYMENT_ID
public static final String FLAT_BEAN_DEPLOYMENT_ID
The id of a bean deployment archive whose BeanManager should be used as a result of a JNDI "java:comp/env/BeanManager" lookup.- See Also:
- Constant Field Values
-
WEB_INF_CLASSES
public static final String WEB_INF_CLASSES
- See Also:
- Constant Field Values
-
WEB_INF_CLASSES_FILE_PATH
public static final String WEB_INF_CLASSES_FILE_PATH
-
-
Constructor Detail
-
ManagerObjectFactory
public ManagerObjectFactory()
-
ManagerObjectFactory
public ManagerObjectFactory(String contextId)
-
-
Method Detail
-
getObjectInstance
public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment) throws Exception
- Specified by:
getObjectInstance
in interfaceObjectFactory
- Throws:
Exception
-
-