package info.ebenoit.ebul.cmp;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;



/**
 * This annotation indicates that a class will be considered as a component. The optional value specifies the
 * component's name if it differs from the class' name.
 *
 * @author <a href="mailto:ebenoit@ebenoit.info">E. BenoƮt</a>
 */
@Retention( RetentionPolicy.RUNTIME )
@Target( ElementType.TYPE )
public @interface Component
{

	/** Name of the component (blank to use the class' name) */
	public String value( ) default "";

}