You can specify the order of interceptors using the before and after
attributes.

-----Original Message-----
From: Vinicius Carvalho [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 18, 2005 10:33 PM
To: [email protected]
Subject: Interceptors precedence

Well I don't even now it it applies to interceptors but...
I'm designing a system with a base super class. On my hivemodule I'd
like to declare a interceptor on an update method:

public void update() 

This interceptor would check for some constraints. Ok, so now the
implementation of my system declares a service from this base class
and adds another interceptor. This time checking for some specific
business logic. Question is, which one is executed first?

Regards

Vinicius

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to