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 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(String variableName)
protected <T> T
get(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()
Class<? extends Annotation>
getScope()
boolean
isActive()
-
-
-
Method Detail
-
getBusinessProcess
protected BusinessProcess getBusinessProcess()
-
getScope
public Class<? extends 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(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(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()
-
-