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) |
|
SubclassedComponentInstantiator(EnhancedAnnotatedType<T> type,
Bean<T> bean,
DefaultInstantiator<T> delegate,
BeanManagerImpl manager) |
| Modifier and Type | Method and Description |
|---|---|
protected Class<T> |
createEnhancedSubclass(AnnotatedType<T> type,
Bean<?> bean) |
Constructor<T> |
getConstructor()
Returns the constructor used for instantiation.
|
protected 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() |
newInstancepublic SubclassedComponentInstantiator(EnhancedAnnotatedType<T> type, Bean<T> bean, DefaultInstantiator<T> delegate, BeanManagerImpl manager)
protected SubclassedComponentInstantiator(EnhancedAnnotatedType<T> type, Bean<T> bean, ConstructorInjectionPoint<T> originalConstructor, BeanManagerImpl manager)
protected EnhancedAnnotatedConstructor<T> initEnhancedSubclass(BeanManagerImpl manager, EnhancedAnnotatedType<T> type, Bean<?> bean, ConstructorInjectionPoint<T> originalConstructorInjectionPoint)
protected Class<T> createEnhancedSubclass(AnnotatedType<T> type, Bean<?> bean)
public boolean hasInterceptorSupport()
Instantiatorpublic boolean hasDecoratorSupport()
Instantiatorprotected 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 © 2013 Seam Framework. All Rights Reserved.