public class ForwardingInstantiator<T> extends Object implements Instantiator<T>
| Constructor and Description |
|---|
ForwardingInstantiator(Instantiator<T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
protected Instantiator<T> |
delegate() |
Constructor<T> |
getConstructor()
Returns the constructor used for instantiation.
|
boolean |
hasDecoratorSupport()
Indicates whether instances created by this Instantiator support decorators.
|
boolean |
hasInterceptorSupport()
Indicates whether instances created by this Instantiator support interception.
|
T |
newInstance(CreationalContext<T> ctx,
BeanManagerImpl manager) |
public ForwardingInstantiator(Instantiator<T> delegate)
protected Instantiator<T> delegate()
public T newInstance(CreationalContext<T> ctx, BeanManagerImpl manager)
newInstance in interface Instantiator<T>public boolean hasInterceptorSupport()
InstantiatorhasInterceptorSupport in interface Instantiator<T>public boolean hasDecoratorSupport()
InstantiatorhasDecoratorSupport in interface Instantiator<T>public Constructor<T> getConstructor()
InstantiatorgetConstructor in interface Instantiator<T>Copyright © 2016. All Rights Reserved.