官术网_书友最值得收藏!

Interceptors

An interceptor is a method that intercepts a business method invocation or a lifecycle callback event. In EJB 2.x, runtime services such as transaction and security are applied to bean objects at the method's invocation time, using method interceptors that are managed by the EJB container. EJB 3.0 has introduced the Interceptor feature with which the interceptors may be managed by a developer. EJB interceptors are methods annotated with the @javax.ejb.AroundInvoke annotation. Interceptors may be used with business methods of session beans and message-driven beans. Interceptor methods may be defined in the bean class or an external interceptor class with a maximum of one interceptor method per class.

主站蜘蛛池模板: 六枝特区| 义乌市| 敦化市| 湾仔区| 郎溪县| 昔阳县| 河西区| 虎林市| 尚义县| 浦城县| 北宁市| 高台县| 泸定县| 平定县| 那坡县| 温州市| 南平市| 南宁市| 格尔木市| 湖口县| 隆回县| 英超| 米泉市| 铁岭市| 西林县| 土默特右旗| 大宁县| 夹江县| 大厂| 抚远县| 习水县| 三亚市| 朔州市| 敦煌市| 普陀区| 呼伦贝尔市| 南康市| 珲春市| 云林县| 长沙县| 固始县|