ebul-cmp/src/main/java/info/ebenoit/ebul/cmp/DriverFor.java
Emmanuel BENOîT e2de94eb7b Importing some code
* Various annotations
* New component information class
2015-09-13 14:46:11 +02:00

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( );
}