Annotation Type Requires

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.

Stuart Douglas, Jozef Hartinger
See Also:

Required Element Summary
 java.lang.String[] value

Element Detail


public abstract java.lang.String[] value

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