Importing some code

* Various annotations
* New component information class
This commit is contained in:
Emmanuel BENOîT 2015-09-13 14:46:11 +02:00
parent 48466ed511
commit e2de94eb7b
14 changed files with 826 additions and 0 deletions
src/main/java/info/ebenoit/ebul/cmp

View file

@ -0,0 +1,22 @@
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 component will be started automatically, even if it is not needed by other
* components.
*
* @author <a href="mailto:ebenoit@ebenoit.info">E. Benoît</a>
*/
@Retention( RetentionPolicy.RUNTIME )
@Target( ElementType.TYPE )
public @interface Autostart
{
// EMPTY
}