T - public class SubclassedComponentInstantiator<T> extends AbstractInstantiator<T>
| Modifier | Constructor and Description |
|---|---|
protected |
SubclassedComponentInstantiator(EnhancedAnnotatedType<T> type,
Bean<T> bean,
ConstructorInjectionPoint<T> originalConstructor,
BeanManagerImpl manager) |
| Modifier and Type | Method and Description |
|---|---|
protected Class<T> |
createEnhancedSubclass(EnhancedAnnotatedType<T> type,
Bean<?> bean,
BeanManagerImpl manager) |
static <T> SubclassedComponentInstantiator<T> |
forInterceptedDecoratedBean(EnhancedAnnotatedType<T> type,
Bean<T> bean,
AbstractInstantiator<T> delegate,
BeanManagerImpl manager) |
static <T> SubclassedComponentInstantiator<T> |
forSubclassedEjb(EnhancedAnnotatedType<T> componentType,
EnhancedAnnotatedType<T> subclass,
Bean<T> bean,
BeanManagerImpl manager) |
Constructor<T> |
getConstructor()
Returns the constructor used for instantiation.
|
ConstructorInjectionPoint<T> |
getConstructorInjectionPoint()
Note that this method return a
ConstructorInjectionPoint that represents the constructor of an enhanced subclass. |
boolean |
hasDecoratorSupport()
Indicates whether instances created by this Instantiator support decorators.
|
boolean |
hasInterceptorSupport()
Indicates whether instances created by this Instantiator support interception.
|
protected EnhancedAnnotatedConstructor<T> |
initEnhancedSubclass(BeanManagerImpl manager,
EnhancedAnnotatedType<T> type,
Bean<?> bean,
ConstructorInjectionPoint<T> originalConstructorInjectionPoint) |
String |
toString() |
newInstanceprotected SubclassedComponentInstantiator(EnhancedAnnotatedType<T> type, Bean<T> bean, ConstructorInjectionPoint<T> originalConstructor, BeanManagerImpl manager)
public static <T> SubclassedComponentInstantiator<T> forSubclassedEjb(EnhancedAnnotatedType<T> componentType, EnhancedAnnotatedType<T> subclass, Bean<T> bean, BeanManagerImpl manager)
public static <T> SubclassedComponentInstantiator<T> forInterceptedDecoratedBean(EnhancedAnnotatedType<T> type, Bean<T> bean, AbstractInstantiator<T> delegate, BeanManagerImpl manager)
protected EnhancedAnnotatedConstructor<T> initEnhancedSubclass(BeanManagerImpl manager, EnhancedAnnotatedType<T> type, Bean<?> bean, ConstructorInjectionPoint<T> originalConstructorInjectionPoint)
protected Class<T> createEnhancedSubclass(EnhancedAnnotatedType<T> type, Bean<?> bean, BeanManagerImpl manager)
public boolean hasInterceptorSupport()
Instantiatorpublic boolean hasDecoratorSupport()
Instantiatorpublic ConstructorInjectionPoint<T> getConstructorInjectionPoint()
ConstructorInjectionPoint that represents the constructor of an enhanced subclass.
Use getConstructor() to get the matching component class constructor.getConstructorInjectionPoint in class AbstractInstantiator<T>public Constructor<T> getConstructor()
InstantiatorCopyright © 2015. All Rights Reserved.