public abstract class ForwardingWeldCreationalContext<T> extends Object implements WeldCreationalContext<T>
Constructor and Description |
---|
ForwardingWeldCreationalContext() |
Modifier and Type | Method and Description |
---|---|
void |
addDependentInstance(org.jboss.weld.context.api.ContextualInstance<?> contextualInstance) |
void |
addDependentResourceReference(org.jboss.weld.injection.spi.ResourceReference<?> resourceReference)
Register a
ResourceReference as a dependency. |
boolean |
containsIncompleteInstance(javax.enterprise.context.spi.Contextual<?> bean) |
protected abstract WeldCreationalContext<T> |
delegate() |
boolean |
equals(Object obj) |
<S> WeldCreationalContext<S> |
getCreationalContext(javax.enterprise.context.spi.Contextual<S> Contextual) |
<S> S |
getIncompleteInstance(javax.enterprise.context.spi.Contextual<S> bean) |
int |
hashCode() |
void |
push(T incompleteInstance) |
void |
release() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
destroyDependentInstance, getContextual, getDependentInstances, getParentCreationalContext, getProducerReceiverCreationalContext
protected abstract WeldCreationalContext<T> delegate()
public void push(T incompleteInstance)
push
in interface javax.enterprise.context.spi.CreationalContext<T>
public void release()
release
in interface javax.enterprise.context.spi.CreationalContext<T>
public boolean containsIncompleteInstance(javax.enterprise.context.spi.Contextual<?> bean)
public <S> WeldCreationalContext<S> getCreationalContext(javax.enterprise.context.spi.Contextual<S> Contextual)
public <S> S getIncompleteInstance(javax.enterprise.context.spi.Contextual<S> bean)
public void addDependentInstance(org.jboss.weld.context.api.ContextualInstance<?> contextualInstance)
public void addDependentResourceReference(org.jboss.weld.injection.spi.ResourceReference<?> resourceReference)
WeldCreationalContext
ResourceReference
as a dependency. ResourceReference.release()
will be called on every ResourceReference
once this CreationalContext
instance is released.Copyright © 2016. All rights reserved.