26 lines
620 B
Java
26 lines
620 B
Java
package info.ebenoit.ebul.cmp;
|
|
|
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Inherited;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
|
|
|
|
/**
|
|
* This annotation is meant to indicate that a component acts as a driver for another component.
|
|
*
|
|
* @author <a href="mailto:ebenoit@ebenoit.info">E. Benoît</a>
|
|
*/
|
|
@Inherited
|
|
@Retention( RetentionPolicy.RUNTIME )
|
|
@Target( ElementType.TYPE )
|
|
public @interface DriverFor
|
|
{
|
|
|
|
/** Name of the component to act as a driver for. Implies a dependency. */
|
|
public String value( );
|
|
|
|
}
|