javax.enterprise.inject
Annotation Type New


@Target(value={FIELD,PARAMETER,METHOD,TYPE})
@Retention(value=RUNTIME)
@Documented
@Qualifier
public @interface New


Optional Element Summary
 Class<?> value
          May be used to declare which type should be used for injection.
 

value

public abstract Class<?> value
May be used to declare which type should be used for injection. This defaults to the type which is defined at the injection point.

Returns:
the class of the bean which should be injected
Default:
javax.enterprise.inject.New.class


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.