public abstract class AbstractItemInterceptorHandler extends Object implements ItemInterceptorHandler
Constructor and Description |
---|
AbstractItemInterceptorHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
interceptItem(Item item,
ItemInterceptor interceptorElement,
GeneratorContext.MasterContext masterContext,
Properties properties)
Intercept an item
|
protected abstract boolean |
processInterceptItem(Item item,
ItemInterceptor interceptorElement,
GeneratorContext.MasterContext masterContext,
Properties properties) |
protected abstract boolean processInterceptItem(Item item, ItemInterceptor interceptorElement, GeneratorContext.MasterContext masterContext, Properties properties)
true
if the even should be passed to other
interceptorspublic boolean interceptItem(Item item, ItemInterceptor interceptorElement, GeneratorContext.MasterContext masterContext, Properties properties)
ItemInterceptorHandler
Note that if the item is realized on multiple master servers the method will be called once for each master.
interceptItem
in interface ItemInterceptorHandler
item
- the item to interceptinterceptorElement
- the interceptor elementmasterContext
- the master contextproperties
- the aggregated component propertiestrue
if the event should be passed to other
interceptors