The controls implementation architecture has a interceptor model for adding annotation-based features. This model provides the ability to associate a JavaBeans service interface with an annotation to define its runtime feature behaviour. Such interfaces must extend this Interceptor interface, which defines the contract that the controls runtime has with interceptors. The controls runtime will automatically instantiate and execute implementations of interceptors at the appropriate execution points (pre/post invocation of a control operation, etc). 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.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.