public class FilterFactory extends Object
The resulting filter can subsequently be used in ObservationManagerImpl.addEventListener as usual.
|Constructor and Description|
|Modifier and Type||Method and Description|
Wrap a JackrabbitEventFilter into its corresponding oak extension, OakEventFilter, on which some Oak specific observation filter extensions can then be used.
public static OakEventFilter wrap(org.apache.jackrabbit.api.observation.JackrabbitEventFilter baseFilter)
baseFilter- the base filter which contains other properties. Changes to the resulting oak filter "write-through" to the underlying baseFilter (for the features covered by the underlying) and similarly changes to the baseFilter are seen by the resulting oak filter. Note that this "write-through" behavior does no longer apply after a listener was registered, ie changing a filter after registration doesn't alter it for that listener.
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.