T - the class of the creational context.public class JerseyClientCreationalContext<T>
extends org.jboss.weld.contexts.CreationalContextImpl<T>
| Constructor and Description |
|---|
JerseyClientCreationalContext(org.jboss.weld.contexts.CreationalContextImpl<T> wrapped) |
| 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) |
boolean |
destroyDependentInstance(T instance)
Destroys dependent instance
|
List<org.jboss.weld.construction.api.AroundConstructCallback<T>> |
getAroundConstructCallbacks() |
org.jboss.weld.interceptor.proxy.InterceptionContext |
getAroundConstructInterceptionContext() |
javax.enterprise.context.spi.Contextual<T> |
getContextual() |
<S> org.jboss.weld.contexts.CreationalContextImpl<S> |
getCreationalContext(javax.enterprise.context.spi.Contextual<S> contextual) |
List<org.jboss.weld.context.api.ContextualInstance<?>> |
getDependentInstances()
Returns an unmodifiable list of dependent instances.
|
<S> S |
getIncompleteInstance(javax.enterprise.context.spi.Contextual<S> bean) |
CdiClientInjectionManager |
getInjectionManager() |
org.jboss.weld.contexts.CreationalContextImpl<?> |
getParentCreationalContext() |
<S> org.jboss.weld.contexts.CreationalContextImpl<S> |
getProducerReceiverCreationalContext(javax.enterprise.context.spi.Contextual<S> contextual) |
boolean |
isConstructorInterceptionSuppressed() |
void |
registerAroundConstructCallback(org.jboss.weld.construction.api.AroundConstructCallback<T> callback) |
void |
release() |
void |
release(javax.enterprise.context.spi.Contextual<T> contextual,
T instance) |
void |
setAroundConstructInterceptionContext(org.jboss.weld.interceptor.proxy.InterceptionContext aroundConstructInterceptionContext) |
void |
setConstructorInterceptionSuppressed(boolean value) |
JerseyClientCreationalContext |
setInjectionManager(CdiClientInjectionManager injectionManager) |
public JerseyClientCreationalContext(org.jboss.weld.contexts.CreationalContextImpl<T> wrapped)
public <S> org.jboss.weld.contexts.CreationalContextImpl<S> getCreationalContext(javax.enterprise.context.spi.Contextual<S> contextual)
getCreationalContext in class org.jboss.weld.contexts.CreationalContextImpl<T>public <S> org.jboss.weld.contexts.CreationalContextImpl<S> getProducerReceiverCreationalContext(javax.enterprise.context.spi.Contextual<S> contextual)
getProducerReceiverCreationalContext in class org.jboss.weld.contexts.CreationalContextImpl<T>public <S> S getIncompleteInstance(javax.enterprise.context.spi.Contextual<S> bean)
getIncompleteInstance in class org.jboss.weld.contexts.CreationalContextImpl<T>public boolean containsIncompleteInstance(javax.enterprise.context.spi.Contextual<?> bean)
containsIncompleteInstance in class org.jboss.weld.contexts.CreationalContextImpl<T>public void addDependentInstance(org.jboss.weld.context.api.ContextualInstance<?> contextualInstance)
addDependentInstance in class org.jboss.weld.contexts.CreationalContextImpl<T>public void release()
public void release(javax.enterprise.context.spi.Contextual<T> contextual, T instance)
release in class org.jboss.weld.contexts.CreationalContextImpl<T>public org.jboss.weld.contexts.CreationalContextImpl<?> getParentCreationalContext()
getParentCreationalContext in class org.jboss.weld.contexts.CreationalContextImpl<T>CreationalContext or null if there isn't any parent.public List<org.jboss.weld.context.api.ContextualInstance<?>> getDependentInstances()
getDependentInstances in class org.jboss.weld.contexts.CreationalContextImpl<T>public void addDependentResourceReference(org.jboss.weld.injection.spi.ResourceReference<?> resourceReference)
ResourceReference as a dependency. ResourceReference.release() will be called on every ResourceReference once this
CreationalContext instance is released.addDependentResourceReference in class org.jboss.weld.contexts.CreationalContextImpl<T>public boolean destroyDependentInstance(T instance)
destroyDependentInstance in class org.jboss.weld.contexts.CreationalContextImpl<T>instance - public javax.enterprise.context.spi.Contextual<T> getContextual()
getContextual in class org.jboss.weld.contexts.CreationalContextImpl<T>Contextual for which this CreationalContext is created.public List<org.jboss.weld.construction.api.AroundConstructCallback<T>> getAroundConstructCallbacks()
getAroundConstructCallbacks in class org.jboss.weld.contexts.CreationalContextImpl<T>public void setConstructorInterceptionSuppressed(boolean value)
public boolean isConstructorInterceptionSuppressed()
public void registerAroundConstructCallback(org.jboss.weld.construction.api.AroundConstructCallback<T> callback)
public org.jboss.weld.interceptor.proxy.InterceptionContext getAroundConstructInterceptionContext()
getAroundConstructInterceptionContext in class org.jboss.weld.contexts.CreationalContextImpl<T>null if no such interceptors were appliedpublic void setAroundConstructInterceptionContext(org.jboss.weld.interceptor.proxy.InterceptionContext aroundConstructInterceptionContext)
setAroundConstructInterceptionContext in class org.jboss.weld.contexts.CreationalContextImpl<T>public JerseyClientCreationalContext setInjectionManager(CdiClientInjectionManager injectionManager)
public CdiClientInjectionManager getInjectionManager()
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.