Class ForwardingInstantiator<T>
java.lang.Object
org.jboss.weld.injection.producer.ForwardingInstantiator<T>
- All Implemented Interfaces:
Instantiator<T>
- Direct Known Subclasses:
AbstractDecoratorApplyingInstantiator,ConstructorInterceptionInstantiator,InterceptorApplyingInstantiator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Instantiator<T>delegate()Returns the constructor used for instantiation.booleanIndicates whether instances created by this Instantiator support decorators.booleanIndicates whether instances created by this Instantiator support interception.newInstance(jakarta.enterprise.context.spi.CreationalContext<T> ctx, BeanManagerImpl manager)
-
Constructor Details
-
ForwardingInstantiator
-
-
Method Details
-
delegate
-
newInstance
public T newInstance(jakarta.enterprise.context.spi.CreationalContext<T> ctx, BeanManagerImpl manager) - Specified by:
newInstancein interfaceInstantiator<T>
-
hasInterceptorSupport
public boolean hasInterceptorSupport()Description copied from interface:InstantiatorIndicates whether instances created by this Instantiator support interception.- Specified by:
hasInterceptorSupportin interfaceInstantiator<T>
-
hasDecoratorSupport
public boolean hasDecoratorSupport()Description copied from interface:InstantiatorIndicates whether instances created by this Instantiator support decorators.- Specified by:
hasDecoratorSupportin interfaceInstantiator<T>
-
getConstructor
Description copied from interface:InstantiatorReturns the constructor used for instantiation. If an enhanced subclass is used for a component instance, this method returns the matching constructor of the original component class.- Specified by:
getConstructorin interfaceInstantiator<T>
-