Class WeldInjectionTargetBuilderImpl<T>

  • Type Parameters:
    T -
    All Implemented Interfaces:
    PrivilegedAction<BasicInjectionTarget<T>>, org.jboss.weld.manager.api.WeldInjectionTargetBuilder<T>

    public class WeldInjectionTargetBuilderImpl<T>
    extends Object
    implements org.jboss.weld.manager.api.WeldInjectionTargetBuilder<T>, PrivilegedAction<BasicInjectionTarget<T>>
    Default WeldInjectionTargetBuilder implementation. The builder runs in a privileged context.
    Author:
    Jozef Hartinger
    • Constructor Detail

      • WeldInjectionTargetBuilderImpl

        public WeldInjectionTargetBuilderImpl​(jakarta.enterprise.inject.spi.AnnotatedType<T> type,
                                              BeanManagerImpl manager)
    • Method Detail

      • setResourceInjectionEnabled

        public org.jboss.weld.manager.api.WeldInjectionTargetBuilder<T> setResourceInjectionEnabled​(boolean value)
        Specified by:
        setResourceInjectionEnabled in interface org.jboss.weld.manager.api.WeldInjectionTargetBuilder<T>
      • setTargetClassLifecycleCallbacksEnabled

        public org.jboss.weld.manager.api.WeldInjectionTargetBuilder<T> setTargetClassLifecycleCallbacksEnabled​(boolean value)
        Specified by:
        setTargetClassLifecycleCallbacksEnabled in interface org.jboss.weld.manager.api.WeldInjectionTargetBuilder<T>
      • setInterceptionEnabled

        public org.jboss.weld.manager.api.WeldInjectionTargetBuilder<T> setInterceptionEnabled​(boolean value)
        Specified by:
        setInterceptionEnabled in interface org.jboss.weld.manager.api.WeldInjectionTargetBuilder<T>
      • setDecorationEnabled

        public org.jboss.weld.manager.api.WeldInjectionTargetBuilder<T> setDecorationEnabled​(boolean value)
        Specified by:
        setDecorationEnabled in interface org.jboss.weld.manager.api.WeldInjectionTargetBuilder<T>
      • setBean

        public org.jboss.weld.manager.api.WeldInjectionTargetBuilder<T> setBean​(jakarta.enterprise.inject.spi.Bean<T> bean)
        Specified by:
        setBean in interface org.jboss.weld.manager.api.WeldInjectionTargetBuilder<T>
      • build

        public org.jboss.weld.manager.api.WeldInjectionTarget<T> build()
        Specified by:
        build in interface org.jboss.weld.manager.api.WeldInjectionTargetBuilder<T>