1 7 package org.jboss.jms.container; 8 9 import org.jboss.aop.advice.Interceptor; 10 import org.jboss.aop.joinpoint.Invocation; 11 12 18 public class ForwardInterceptor 19 implements Interceptor 20 { 21 23 25 26 private Container delegate; 27 28 30 32 37 public ForwardInterceptor(Container delegate) 38 { 39 this.delegate = delegate; 40 } 41 42 44 46 public String getName() 47 { 48 return "ForwardInterceptor"; 49 } 50 51 public Object invoke(Invocation invocation) throws Throwable  52 { 53 return delegate.invoke(invocation); 54 } 55 56 58 60 62 64 } 65 | Popular Tags |