You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by Xibin Zeng <xi...@gmail.com> on 2005/08/02 17:49:23 UTC
Control Interceptor mis-comment?
Hi -
The Beehive control framework has an interceptor model that is really
cool and easy to use. I found this comment at the
org.apache.beehive.controls.spi.svc.Interceptor class:
* A return value of "true" from each Interceptor method indicates to the runtime
* that it should continue execution through the normal flow of
control (ie, subsequent
* interceptors and operation/event execution). "false" indicates
that the interceptor
* has fully processed the operation and the runtime should "pivot" out.
However, none of the Interceptor's methods returns boolean, instead
they all return void. Is this just a mistake in the comment, or is
there a interceptor-chaining mechanism somewhere?
Thanks
Xibin Zeng