|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@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 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.
Veto
Required Element Summary | |
---|---|
String[] |
value
|
Element Detail |
---|
public abstract String[] value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |