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