org.jboss.solder.core
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 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.

Author:
Stuart Douglas, Jozef Hartinger
See Also:
Veto

Required Element Summary
 String[] value
           
 

Element Detail

value

public abstract String[] value


Copyright © 2011 Seam Framework. All Rights Reserved.