T - public class InterceptorApplyingInstantiator<T> extends ForwardingInstantiator<T>
SubclassedComponentInstantiator that registers interceptors within the method handler. This class is
thread-safe.| Constructor and Description |
|---|
InterceptorApplyingInstantiator(Instantiator<T> delegate,
InterceptionModel<ClassMetadata<?>> model,
SlimAnnotatedType<T> type) |
| Modifier and Type | Method and Description |
|---|---|
protected T |
applyInterceptors(T instance,
InterceptionContext interceptionContext) |
boolean |
hasInterceptorSupport()
Indicates whether instances created by this Instantiator support interception.
|
T |
newInstance(CreationalContext<T> ctx,
BeanManagerImpl manager) |
String |
toString() |
delegate, getConstructor, hasDecoratorSupportpublic InterceptorApplyingInstantiator(Instantiator<T> delegate, InterceptionModel<ClassMetadata<?>> model, SlimAnnotatedType<T> type)
public T newInstance(CreationalContext<T> ctx, BeanManagerImpl manager)
newInstance in interface Instantiator<T>newInstance in class ForwardingInstantiator<T>protected T applyInterceptors(T instance, InterceptionContext interceptionContext)
public boolean hasInterceptorSupport()
InstantiatorhasInterceptorSupport in interface Instantiator<T>hasInterceptorSupport in class ForwardingInstantiator<T>Copyright © 2014 Seam Framework. All Rights Reserved.