Class AbstractProducer<T>

    • Constructor Detail

      • AbstractProducer

        public AbstractProducer()
      • AbstractProducer

        public AbstractProducer​(Set<javax.enterprise.inject.spi.InjectionPoint> points)
    • Method Detail

      • defineInterceptorStack

        public void defineInterceptorStack​(javax.enterprise.inject.spi.Bean<T> bean,
                                           javax.enterprise.inject.spi.AnnotatedType<T> annotatedType,
                                           WebBeansContext webBeansContext)
        Configure bean instance interceptor stack. This method gets invoked in the ValidateBean phase and will fill all the interceptor information into the given InjectionTargetBean
      • getInjectionPoints

        public Set<javax.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
        Specified by:
        getInjectionPoints in interface javax.enterprise.inject.spi.Producer<T>
      • produce

        public T produce​(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
        Specified by:
        produce in interface javax.enterprise.inject.spi.Producer<T>
      • filterDecorators

        protected List<javax.enterprise.inject.spi.Decorator<?>> filterDecorators​(T instance,
                                                                                  List<javax.enterprise.inject.spi.Decorator<?>> decorators)
      • dispose

        public void dispose​(T instance)
        Specified by:
        dispose in interface javax.enterprise.inject.spi.Producer<T>
      • produce

        protected abstract T produce​(Map<javax.enterprise.inject.spi.Interceptor<?>,​?> interceptorInstances,
                                     CreationalContextImpl<T> creationalContext)
      • getMethodInterceptors

        protected Map<Method,​List<javax.enterprise.inject.spi.Interceptor<?>>> getMethodInterceptors()
      • needsProxy

        protected boolean needsProxy()
      • hasInterceptorInfo

        protected boolean hasInterceptorInfo()
      • unwrapProxyInstance

        protected T unwrapProxyInstance​(T probableProxyInstance)
        Helper method to unwrap the internal proxy instance. Returns the instance directly if this is not a proxied instance.
      • defineLifecycleInterceptors

        protected void defineLifecycleInterceptors​(javax.enterprise.inject.spi.Bean<T> bean,
                                                   javax.enterprise.inject.spi.AnnotatedType<T> annotatedType,
                                                   WebBeansContext webBeansContext)