ebul-cmp/src/main/java/info/ebenoit/ebul/cmp/Dependencies.java
Emmanuel BENOîT 9f5fbcbf3d Component registration info - Rewrote dependency injector finder
Use the MemberFinder. Dependencies can be injected using methods.
2015-09-14 10:56:19 +02:00

26 lines
685 B
Java

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 lists dependencies for a component. If some components are injected as dependencies through the
* UseComponent annotation, they don't need to be listed here (same goes for the component indicated by
* {@link DriverFor}).
*
* @author <a href="mailto:ebenoit@ebenoit.info">E. Benoît</a>
*/
@Retention( RetentionPolicy.RUNTIME )
@Target( ElementType.TYPE )
public @interface Dependencies
{
/** List the component's dependencies */
public String[]value( );
}