public interface WeldCreationalContext<T> extends javax.enterprise.context.spi.CreationalContext<T>
CreationalContextwhich gives the integrator additional control over the process of constructing an instance.
|Modifier and Type||Method and Description|
Indicates whether Weld-managed
Register a callback which is notified of component construction.
By default Weld takes care of
void setConstructorInterceptionSuppressed(boolean value)
AroundConstructinterceptors of a component instance which are bound to the component using interceptor bindings or the
Interceptorsannotation. This may not be desired should an integrator want to manage these interceptors themselves. In that case this switch may be used to suppress Weld management of
AroundConstructinterceptors. In that case an integrator is responsible for performing
value- the value
AroundConstructinterceptors are suppressed.
AroundConstructinterceptors are suppressed
void registerAroundConstructCallback(AroundConstructCallback<T> callback)
AroundConstructCallbacks are invoked in the order in which they were registered.
callback- the callback
Copyright © 2008–2017. All rights reserved.