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>

public class DefaultInstantiator<T> extends AbstractInstantiator<T>
Creates a new Java object by calling its class constructor. This class is thread-safe.
Author:
Jozef Hartinger
  • Constructor Details

  • Method Details

    • getConstructorInjectionPoint

      public ConstructorInjectionPoint<T> getConstructorInjectionPoint()
      Specified by:
      getConstructorInjectionPoint in class AbstractInstantiator<T>
    • getConstructor

      public Constructor<T> getConstructor()
      Description copied from interface: Instantiator
      Returns 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

      public List<ParameterInjectionPoint<?,T>> getParameterInjectionPoints()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hasInterceptorSupport

      public boolean hasInterceptorSupport()
      Description copied from interface: Instantiator
      Indicates whether instances created by this Instantiator support interception.
    • hasDecoratorSupport

      public boolean hasDecoratorSupport()
      Description copied from interface: Instantiator
      Indicates whether instances created by this Instantiator support decorators.