KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > tutorial > interceptor > bean > OtherInterceptor


1 /*
2  * JBoss, the OpenSource EJB server
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.tutorial.interceptor.bean;
8
9 import javax.ejb.AroundInvoke;
10 import javax.ejb.InvocationContext;
11
12 public class OtherInterceptor
13 {
14    @AroundInvoke
15    public Object JavaDoc intercept(InvocationContext ctx) throws Exception JavaDoc
16    {
17       System.out.println("*** OtherInterceptor intercepting");
18       return ctx.proceed();
19    }
20
21 }
22
Popular Tags