org.jboss.seam.annotations
Annotation Type Install


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface Install

Specifies whether or not a component should be installed if it is scanned


Optional Element Summary
 String[] classDependencies
          Indicates that the component should not be installed unless the the given class definitions are available on the classpath
 String[] dependencies
          Indicates that the component should not be installed unless the dependent components are installed
 Class[] genericDependencies
          Indicates that the component should not be installed unless the dependent components are installed
 int precedence
          The precedence of the component.
 boolean value
           
 

value

public abstract boolean value
Returns:
indicates if the component should be installed
Default:
true

dependencies

public abstract String[] dependencies
Indicates that the component should not be installed unless the dependent components are installed

Returns:
the dependent component names
Default:
{}

genericDependencies

public abstract Class[] genericDependencies
Indicates that the component should not be installed unless the dependent components are installed

Returns:
the dependent component types
Default:
{}

classDependencies

public abstract String[] classDependencies
Indicates that the component should not be installed unless the the given class definitions are available on the classpath

Returns:
the dependent classes
Default:
{}

precedence

public abstract int precedence
The precedence of the component. If multiple components with the same name exist, the one with the higher precedence will be installed.

Default:
20