Annotation Interface Role
Indicates the 'role' hint for a given bean.
 
May be used on any class directly or indirectly annotated with
 Component or on methods
 annotated with Bean.
 
If this annotation is not present on a Component or Bean definition,
 the default value of BeanDefinition.ROLE_APPLICATION will apply.
 
If Role is present on a @Configuration class,
 this indicates the role of the configuration class bean definition and
 does not cascade to all @Bean methods defined within. This behavior
 is different from the behavior of the @Lazy annotation, for example.
- Since:
 - 3.1
 - Author:
 - Chris Beams
 - See Also:
 
- 
Required Element Summary
Required Elements 
- 
Element Details
- 
value
int valueSet the role hint for the associated bean. 
 -