Class DelegatingProducer<T>
- java.lang.Object
-
- io.helidon.integrations.cdi.delegates.DelegatingProducer<T>
-
- Type Parameters:
T- the type of produced object
- All Implemented Interfaces:
javax.enterprise.inject.spi.Producer<T>
- Direct Known Subclasses:
DelegatingInjectionTarget
public class DelegatingProducer<T> extends Object implements javax.enterprise.inject.spi.Producer<T>
AProducerimplementation that forwards all operations to anotherProducer.
-
-
Constructor Summary
Constructors Constructor Description DelegatingProducer(javax.enterprise.inject.spi.Producer<T> delegate)Creates a newDelegatingProducer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose(T instance)Set<javax.enterprise.inject.spi.InjectionPoint>getInjectionPoints()Tproduce(javax.enterprise.context.spi.CreationalContext<T> cc)
-
-
-
Constructor Detail
-
DelegatingProducer
public DelegatingProducer(javax.enterprise.inject.spi.Producer<T> delegate)
Creates a newDelegatingProducer.- Parameters:
delegate- theProducerto which all operations will be forwarded; must not benull- Throws:
NullPointerException- ifdelegateisnull
-
-