Skip to main content

Home/ CDI Extensions/ adding Interceptor Dynamically - InterDyn
struberg

adding Interceptor Dynamically - InterDyn - 2 views

Interceptor

started by struberg on 20 Mar 11
  • struberg
     
    I wrote a small CDI Extension which allows to add interceptors to classes via a simple property based configuration without having to touch your classes.

    https://github.com/struberg/InterDyn

    This is especially useful if you only like to add new aspects temporarily, like I did by writing a small invocation monitoring interceptor: InvoMon (part of the interdyn git repo). This works similar to JaMon and prints out statistics about class and method invocations to the intercepted classes at the end of each request.

To Top

Start a New Topic » « Back to the CDI Extensions group