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(javax.enterprise.context.spi.CreationalContext<T> ctx,
BeanManagerImpl manager) |
public ForwardingInstantiator(Instantiator<T> delegate)
protected Instantiator<T> delegate()
public T newInstance(javax.enterprise.context.spi.CreationalContext<T> ctx, BeanManagerImpl manager)
newInstance
in interface Instantiator<T>
public boolean hasInterceptorSupport()
Instantiator
hasInterceptorSupport
in interface Instantiator<T>
public boolean hasDecoratorSupport()
Instantiator
hasDecoratorSupport
in interface Instantiator<T>
public Constructor<T> getConstructor()
Instantiator
getConstructor
in interface Instantiator<T>
Copyright © 2016. All rights reserved.