Class BusinessProcessContext
- java.lang.Object
-
- org.camunda.bpm.engine.cdi.impl.context.BusinessProcessContext
-
- All Implemented Interfaces:
javax.enterprise.context.spi.Context
- Direct Known Subclasses:
InjectableBusinessProcessContext
public class BusinessProcessContext extends java.lang.Object implements javax.enterprise.context.spi.Context
Implementation of the BusinessProcessContext-scope.- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.enterprise.inject.spi.BeanManager
beanManager
-
Constructor Summary
Constructors Constructor Description BusinessProcessContext()
BusinessProcessContext(javax.enterprise.inject.spi.BeanManager beanManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> T
get(java.lang.String variableName)
protected <T> T
get(java.lang.String variableName, T beanInstance)
<T> T
get(javax.enterprise.context.spi.Contextual<T> contextual)
<T> T
get(javax.enterprise.context.spi.Contextual<T> contextual, javax.enterprise.context.spi.CreationalContext<T> arg1)
protected javax.enterprise.inject.spi.BeanManager
getBeanManager()
protected BusinessProcess
getBusinessProcess()
java.lang.Class<? extends java.lang.annotation.Annotation>
getScope()
boolean
isActive()
-
-
-
Method Detail
-
getBusinessProcess
protected BusinessProcess getBusinessProcess()
-
getScope
public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
- Specified by:
getScope
in interfacejavax.enterprise.context.spi.Context
-
get
public <T> T get(javax.enterprise.context.spi.Contextual<T> contextual)
- Specified by:
get
in interfacejavax.enterprise.context.spi.Context
-
get
protected <T> T get(java.lang.String variableName)
-
get
public <T> T get(javax.enterprise.context.spi.Contextual<T> contextual, javax.enterprise.context.spi.CreationalContext<T> arg1)
- Specified by:
get
in interfacejavax.enterprise.context.spi.Context
-
get
protected <T> T get(java.lang.String variableName, T beanInstance)
-
isActive
public boolean isActive()
- Specified by:
isActive
in interfacejavax.enterprise.context.spi.Context
-
getBeanManager
protected javax.enterprise.inject.spi.BeanManager getBeanManager()
-
-