The 4.0.1 and 3.2.7 releases will include an extension to expose the existing client container via the following IClientContainer interface:
{{{ package org.jboss.proxy; import java.util.ArrayList; import org.jboss.invocation.InvocationContext; /** An interface implemented by the ClientContainer to provide access to * the client proxy interceptors and InvocationContext. * * @author [EMAIL PROTECTED] * @version $Revision: 1.2 $ */ public interface IClientContainer { /** * Access a copy of the proxy container interceptor stack. * @return ArrayList<org.jboss.proxy.Interceptor> */ public ArrayList getInterceptors(); /** * Set the proxy container interceptor stack. * @param interceptors - ArrayList<org.jboss.proxy.Interceptor> to * install as the new interceptor stack */ public void setInterceptors(ArrayList interceptors); /** * Access the InvocationContext associated with the proxy by the * server side proxy factory. The contents of this will depend on * the proxy factory. * @return The proxy creation time InvocationContext */ public InvocationContext getInvocationContext(); } }}} Any proxy created by the detached invoker framework will be an instance of IClientContainer so that the proxy can be manipulated in the client. See the testsuite org.jboss.test.invokers.test.MultiInvokersUnitTestCase for an example. The testsuite is part of the source download. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857455#3857455 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857455 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user