Tie

Java Method Interception

Cook Book

Applying a single rule to multiple interceptors

Problem

You have a number of interceptors that you want to apply when a single rule is matched.

Solution

Use MultiInterceptor so wrap all the interceptors behind one invoke call. Then use the InterceptionBuilder to link a rule to the MultiInterceptor.