@FunctionalInterface public interface DependencyFilter extends Serializable
ServiceInitEvent.addDependencyFilter(DependencyFilter)| Modifier and Type | Interface and Description |
|---|---|
static class |
DependencyFilter.FilterContext
Provides context information for the dependency filter operation.
|
| Modifier and Type | Method and Description |
|---|---|
List<Dependency> |
filter(List<Dependency> dependencies,
DependencyFilter.FilterContext filterContext)
Filters the list of dependencies and returns a (possibly) updated
version.
|
List<Dependency> filter(List<Dependency> dependencies, DependencyFilter.FilterContext filterContext)
Called whenever dependencies are about to be sent to the client side for loading and when templates are parsed on the server side.
dependencies - the collected dependencies, possibly already modified by other
filtersfilterContext - context information, e.g about the target UICopyright © 2025. All rights reserved.