Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * JBoss, Home of Professional Open Source
  * Copyright 2013, Red Hat, Inc., and individual contributors
  * by the @authors tag. See the copyright.txt in the distribution for a
  * full listing of individual contributors.
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * See the License for the specific language governing permissions and
 * limitations under the License.
Extended version of javax.enterprise.context.spi.CreationalContext which gives the integrator additional control over the process of constructing an instance.

Jozef Hartinger
public interface WeldCreationalContext<T> extends CreationalContext<T> {

By default Weld takes care of javax.interceptor.AroundConstruct interceptors of a component instance which are bound to the component using interceptor bindings or the javax.interceptor.Interceptors annotation. 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 javax.interceptor.AroundConstruct interceptors. In that case an integrator is responsible for performing javax.interceptor.AroundConstruct interception.

    void setConstructorInterceptionSuppressed(boolean value);

Indicates whether Weld-managed javax.interceptor.AroundConstruct interceptors are suppressed.

true if Weld-managed javax.interceptor.AroundConstruct interceptors are suppressed
See also:
    boolean isConstructorInterceptionSuppressed();

Register a callback which is notified of component construction. This callback allows an integrator to perform additional tasks (e.g. invoking interceptors bound using the deployment descriptor) around constructor invocation. AroundConstructCallbacks are invoked in the order in which they were registered.

callback the callback
New to GrepCode? Check out our FAQ X