Annotation Type DataRouteByExample
- 
@Target({TYPE,METHOD}) @Retention(RUNTIME) @Inherited @Documented public @interface DataRouteByExample
This annotation identifies an example class whose package name is used to narrow the appropriateDataRouteSupportingcomponent (for example, a RoutableDataSource in JPA) via aPackageDataRouteSupplierimplementation.
This annotation is generally most useful in establishing a route at the beginning of a flow. You will often see it defined at the rest controller level upon entry into the API.- Author:
 - Jeff Fischer
 
 
- 
- 
Element Detail
- 
value
Class<?> value
The class that serves as an example of a data route package. The example class' package should start with the data route package fragment.- Returns:
 - The class that serves as an example of a data route package.
 
 
 - 
 
 -