Class DefaultInstantiator<T>
java.lang.Object
org.jboss.weld.injection.producer.AbstractInstantiator<T>
org.jboss.weld.injection.producer.DefaultInstantiator<T>
- Type Parameters:
T-
- All Implemented Interfaces:
Instantiator<T>
Creates a new Java object by calling its class constructor. This class is thread-safe.
- Author:
- Jozef Hartinger
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultInstantiator(EnhancedAnnotatedType<T> type, jakarta.enterprise.inject.spi.Bean<T> bean, BeanManagerImpl manager) -
Method Summary
Modifier and TypeMethodDescriptionReturns the constructor used for instantiation.booleanIndicates whether instances created by this Instantiator support decorators.booleanIndicates whether instances created by this Instantiator support interception.toString()Methods inherited from class org.jboss.weld.injection.producer.AbstractInstantiator
newInstance
-
Constructor Details
-
DefaultInstantiator
public DefaultInstantiator(EnhancedAnnotatedType<T> type, jakarta.enterprise.inject.spi.Bean<T> bean, BeanManagerImpl manager)
-
-
Method Details
-
getConstructorInjectionPoint
- Specified by:
getConstructorInjectionPointin classAbstractInstantiator<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. -
getParameterInjectionPoints
-
toString
-
hasInterceptorSupport
public boolean hasInterceptorSupport()Description copied from interface:InstantiatorIndicates whether instances created by this Instantiator support interception. -
hasDecoratorSupport
public boolean hasDecoratorSupport()Description copied from interface:InstantiatorIndicates whether instances created by this Instantiator support decorators.
-