@Target(value=TYPE)
 @Retention(value=RUNTIME)
public @interface Import
Note that this annotation is likely to require more use of reflection if package protected members require injection.
| Modifier and Type | Optional Element and Description | 
|---|---|
java.lang.String[] | 
annotated
The annotations types to include in a search when specifying the  
packages() attribute (this attribute has no effect when combined with classes(). | 
java.lang.Class<?>[] | 
classes  | 
java.lang.String[] | 
packages
A list of package names to import. 
 | 
public abstract java.lang.Class<?>[] classes
public abstract java.lang.String[] packages
Note that only types with a bean defining annotation will be imported.
public abstract java.lang.String[] annotated
packages() attribute (this attribute has no effect when combined with classes().
 If set to "*" will include all non-abstract classes. Defaults to only included types annotated with JSR-330 scopes or qualifiers.