Annotation Type Requires

public @interface Requires

Veto the processing of the type if the required classes are not available. Any beans defined by this class 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.

Solder will try both the Thread Context ClassLoader, as well as the classloader of the declaring class.

Stuart Douglas, Jozef Hartinger
See Also:

Required Element Summary
 String[] value

Element Detail


public abstract String[] value

Copyright © 2011 Seam Framework. All Rights Reserved.