E - the generic type of elementpublic interface ElementFilter<E>
Implementation shall provide the logic that can filter a bean instance.
| Modifier and Type | Method and Description |
|---|---|
org.osgl.Osgl.Function<E,Boolean> |
filter(Map<String,Object> options,
BeanSpec container)
Create a filter function with the hint and options specified.
|
org.osgl.Osgl.Function<E,Boolean> filter(Map<String,Object> options, BeanSpec container)
Create a filter function with the hint and options specified. This could be used to produce composite Bean loader based on other bean loaders.
options - the optional parameters specified to refine the filtering logiccontainer - the bean spec of the container into which the element will be loadedCopyright © 2016–2018 OSGL (Open Source General Library). All rights reserved.