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 void
dispose(T instance)
Set<InjectionPoint>
getInjectionPoints()
T
produce(CreationalContext<T> cc)
-
-
-
Constructor Detail
-
DelegatingProducer
public DelegatingProducer(Producer<T> delegate)
Creates a newDelegatingProducer
.- Parameters:
delegate
- theProducer
to which all operations will be forwarded; must not benull
- Throws:
NullPointerException
- ifdelegate
isnull
-
-
Method Detail
-
getInjectionPoints
public Set<InjectionPoint> getInjectionPoints()
- Specified by:
getInjectionPoints
in interfaceProducer<T>
-
-