ComponentScan.java

27 lines | 490 B Blame History Raw Download
package br.ufrgs.inf.prosoft.tigris.configuration.annotation;

import java.lang.annotation.*;

/**
 * The interface Component scan.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
public @interface ComponentScan {

    /**
     * Base packages to scan for annotated components.
     *
     * @return the string pattern
     */
    String allowed();

    /**
     * Denied string pattern.
     *
     * @return the string pattern
     */
    String denied();
}