Class 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  
    • 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • beanManager

        protected javax.enterprise.inject.spi.BeanManager beanManager
    • Constructor Detail

      • BusinessProcessContext

        public BusinessProcessContext()
      • BusinessProcessContext

        public BusinessProcessContext​(javax.enterprise.inject.spi.BeanManager beanManager)
    • Method Detail

      • getScope

        public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
        Specified by:
        getScope in interface javax.enterprise.context.spi.Context
      • get

        public <T> T get​(javax.enterprise.context.spi.Contextual<T> contextual)
        Specified by:
        get in interface javax.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 interface javax.enterprise.context.spi.Context
      • get

        protected <T> T get​(java.lang.String variableName,
                            T beanInstance)
      • isActive

        public boolean isActive()
        Specified by:
        isActive in interface javax.enterprise.context.spi.Context
      • getBeanManager

        protected javax.enterprise.inject.spi.BeanManager getBeanManager()