uCosminexus Application Server, EJB Container Functionality Guide

[Contents][Glossary][Index][Back][Next]

2.15.3 Controlling the invocation of upper level interceptor

You can control the execution of an upper level interceptor in a class level interceptor and a method level interceptor by using an annotation or a DD.

The following table describes the range in which the execution of the interceptor can be controlled.

Table 2-50 Range in which the execution of the upper level interceptor can be controlled

Type of interceptor Interceptor to be controlled
Default interceptor Class level interceptor Method level interceptor
Default interceptor N N --
Class level interceptor Y# N --
Method level interceptor Y Y --

Legend:
Y: The invocation of the upper level interceptor can be controlled.
N: Does not correspond to the upper level, and will be ignored even if you create a definition to control invocation.
--: Invocation of the upper level interceptor cannot be defined.

#
When a definition for controlling the invocation of the default interceptor in the class level interceptor is specified, the invocation of the default interceptor is controlled irrespective of the definition in the method level interceptor.