Class BaseContext

  • All Implemented Interfaces:
    javax.enterprise.context.spi.Context
    Direct Known Subclasses:
    JobContextImpl, StepContextImpl

    public abstract class BaseContext
    extends Object
    implements javax.enterprise.context.spi.Context
    • Field Detail

      • bm

        protected final javax.enterprise.inject.spi.BeanManager bm
    • Constructor Detail

      • BaseContext

        public BaseContext​(javax.enterprise.inject.spi.BeanManager bm)
    • Method Detail

      • currentKey

        protected abstract Long currentKey()
        Returns:
        current keys (we inherit contexts here) sorted by order (the last is the most specific)
      • get

        public <T> T get​(javax.enterprise.context.spi.Contextual<T> component,
                         javax.enterprise.context.spi.CreationalContext<T> creationalContext)
        Specified by:
        get in interface javax.enterprise.context.spi.Context
      • get

        public <T> T get​(javax.enterprise.context.spi.Contextual<T> component)
        Specified by:
        get in interface javax.enterprise.context.spi.Context
      • isActive

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

        public void endContext​(Long key)
      • getContextResolver

        protected org.apache.batchee.cdi.impl.ContextResolver getContextResolver()