Class InjectionTargetWrapper<T>

java.lang.Object
org.omnifaces.cdi.InjectionTargetWrapper<T>
All Implemented Interfaces:
InjectionTarget<T>, Producer<T>, FacesWrapper<InjectionTarget<T>>

public class InjectionTargetWrapper<T> extends Object implements InjectionTarget<T>, FacesWrapper<InjectionTarget<T>>

Provides a simple implementation of InjectionTarget that can be sub-classed by developers wishing to provide specialized behavior to an existing InjectionTarget instance. The default implementation of all methods is to call through to the wrapped InjectionTarget.

Usage: extend this class and provide the instance we are wrapping to the overloaded constructor.

Since:
3.6
Author:
Bauke Scholtz