Class BaseProducerProducer<T,​P>

    • Field Detail

      • owner

        protected jakarta.enterprise.inject.spi.Bean<P> owner
      • disposalMethod

        protected Method disposalMethod
      • disposalIPs

        protected Set<jakarta.enterprise.inject.spi.InjectionPoint> disposalIPs
      • isAnyDisposal

        protected boolean isAnyDisposal
      • disposerMethod

        protected jakarta.enterprise.inject.spi.AnnotatedMethod<? super P> disposerMethod
    • Constructor Detail

      • BaseProducerProducer

        public BaseProducerProducer​(jakarta.enterprise.inject.spi.Bean<P> owner,
                                    jakarta.enterprise.inject.spi.AnnotatedMethod<? super P> disposerMethod,
                                    Set<jakarta.enterprise.inject.spi.InjectionPoint> points,
                                    Set<jakarta.enterprise.inject.spi.InjectionPoint> disposalIPs,
                                    WebBeansContext webBeansContext)
    • Method Detail

      • getDisposerMethod

        public jakarta.enterprise.inject.spi.AnnotatedMethod<? super P> getDisposerMethod()
      • defineInterceptorStack

        public void defineInterceptorStack​(jakarta.enterprise.inject.spi.Bean<T> bean,
                                           jakarta.enterprise.inject.spi.AnnotatedType<T> annotatedType,
                                           WebBeansContext webBeansContext)
        Description copied from class: AbstractProducer
        Configure bean instance interceptor stack. This method gets invoked in the ValidateBean phase and will fill all the interceptor information into the given InjectionTargetBean
        Overrides:
        defineInterceptorStack in class AbstractProducer<T>
      • dispose

        public void dispose​(T instance)
        Specified by:
        dispose in interface jakarta.enterprise.inject.spi.Producer<T>
        Overrides:
        dispose in class AbstractProducer<T>
      • getDisposalIPs

        public Set<jakarta.enterprise.inject.spi.InjectionPoint> getDisposalIPs()
      • isAnyDisposal

        public boolean isAnyDisposal()