@Retention(value=RUNTIME)
@Target(value=TYPE)
@Import(value={InterfaceComponentConfiguration.class,InterfaceComponentBeanDefinitionRegistrar.class})
public @interface InterfaceComponentScan
Component by default but can be changed
using annotation() and beanNameAnnotationAttribute().MethodHandler,
Handler,
DefaultMethodHandler| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
annotation
Interfaces marked with annotation of this type will be registered.
|
java.lang.Class<?>[] |
basePackageClasses
The package of each class will be scanned.
|
java.lang.String[] |
basePackages
Packages to scan.
|
java.lang.String |
beanNameAnnotationAttribute
Name of the attribute under
annotation() specifying bean name. |
java.lang.String[] |
value
Alias for
basePackages(). |
@AliasFor(value="basePackages") public abstract java.lang.String[] value
basePackages().@AliasFor(value="value") public abstract java.lang.String[] basePackages
public abstract java.lang.Class<?>[] basePackageClasses
public abstract java.lang.Class<? extends java.lang.annotation.Annotation> annotation
public abstract java.lang.String beanNameAnnotationAttribute
annotation() specifying bean name.