@Documented @Retention(value=RUNTIME) @Target(value={ANNOTATION_TYPE,FIELD,PARAMETER}) public @interface Filter
Used to tag an annotation with bean filter specification.
This annotation can be used in conjunction with LoadCollection to filter the element to be loaded into a collection typed bean
| Modifier and Type | Required Element and Description |
|---|---|
Class<? extends ElementFilter> |
value
Specify the
ElementFilter implementation used to filter bean(s) loaded by bean loaders |
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
reverse
Specify it shall reverse the filter function when applying the filter
|
public abstract Class<? extends ElementFilter> value
Specify the ElementFilter implementation used to filter bean(s) loaded by bean loaders
ElementFilter classCopyright © 2016–2018 OSGL (Open Source General Library). All rights reserved.