javax.enterprise.inject
Annotation Type Requires


@Target(value={TYPE,PACKAGE})
@Retention(value=RUNTIME)
@Documented
public @interface Requires

Veto the processing of the type if the required classes are not available. Any beans defined by the type will not be installed.

When placed on package, all beans in the package are installed if only if all of required classes are available.

If annotation is defined both on the package and the bean, union of required classes defined by these annotations is considered.

Author:
Stuart Douglas, Jozef Hartinger
See Also:
Veto

Required Element Summary
 java.lang.String[] value
           
 

Element Detail

value

public abstract java.lang.String[] value


Copyright © 2008-2011 JBoss by Red Hat, Inc.. All Rights Reserved.