1 22 package org.jboss.proxy; 23 24 import java.lang.reflect.Method ; 25 26 import org.jboss.invocation.InvocationContext; 27 28 34 public class ClientContainerEx extends ClientContainer 35 implements IClientContainer 36 { 37 public ClientContainerEx() 38 { 39 super(); 40 } 41 42 public ClientContainerEx(InvocationContext context) 43 { 44 super(context); 45 } 46 47 55 public Object invoke(final Object proxy, final Method m, Object [] args) 56 throws Throwable  57 { 58 if( m.getDeclaringClass() == IClientContainer.class ) 59 { 60 return m.invoke(this, args); 61 } 62 return super.invoke(proxy, m, args); 63 } 64 } 65 | Popular Tags |