public interface WeldInjectionTargetFactory<T> extends javax.enterprise.inject.spi.InjectionTargetFactory<T>
|Modifier and Type||Method and Description|
Create a new injection target for an interceptor bound using
WeldInjectionTarget<T> createInjectionTarget(javax.enterprise.inject.spi.Bean<T> bean)
WeldInjectionTargetimplementation that does not support construction/destruction of instances but provides field/setter injection capabilities. Such implementation is often handy for integration with other frameworks in situations when an existing Java object needs to be injected.
Producer.dispose(Object)methods should not be called on the returned instance. The
Producer.produce(javax.enterprise.context.spi.CreationalContext)method of the returned injection target throws
Interceptorsor a deployment descriptor. Unlike
createInjectionTarget(javax.enterprise.inject.spi.Bean), the resulting InjectionTarget does not support interception as it is itself an interceptor.
Copyright © 2008-2015. All Rights Reserved.