Fork me on GitHub

Overview

The service reuses YAAFI infrastructure to add Avalon interceptor services to any Java object. This service is useful if you would like to extend the existing interceptor services (e.g. logging) to non-Avalon services.

Configuration

Role Configuration

<role
  name="org.apache.fulcrum.yaafi.service.advice.AdviceService"
  shorthand="AdviceService"
  default-class="org.apache.fulcrum.yaafi.service.advice.AdviceServiceImpl"
  has-proxy="false"
/>
            

Component Configuration

Item Datatype Optional Description
interceptors Tree Y Contains a list of interceptors
interceptors/interceptor String Y The name of the interceptor