User: patriot1burke Date: 01/12/31 12:43:49 Added: src/main/org/jboss/invocation/jrmp/interfaces JRMPInvokerProxyHA.java Log: New JRMPInvoker MBean for clustering Revision Changes Path 1.1 jbossmx/src/main/org/jboss/invocation/jrmp/interfaces/JRMPInvokerProxyHA.java Index: JRMPInvokerProxyHA.java =================================================================== /* * JBoss, the OpenSource J2EE webOS * * Distributable under LGPL license. * See terms of license at gnu.org. */ package org.jboss.invocation.jrmp.interfaces; import org.jboss.invocation.Invoker; import org.jboss.ha.framework.interfaces.HARMIProxy; /** * * JRMPInvokerProxyHA, local to the proxy and is capable of delegating to local and JRMP implementations * * @author <a href="mailto:bill@burkecentral">Bill Burke</a> * @version $Revision: 1.1 $ * * <p><b>2001/12/31: billb</b> * <ol> * <li>Initial checkin * </ol> */ public class JRMPInvokerProxyHA extends JRMPInvokerProxy { // Constructors -------------------------------------------------- public JRMPInvokerProxyHA() { super(); } /** * Create a new Proxy. * * @param container * The remote interface of the container invoker of the * container we proxy for. */ public JRMPInvokerProxyHA(Invoker remoteInvoker) { super(remoteInvoker); } // Public -------------------------------------------------------- /** * Returns wether we are local to the originating container or not. */ public boolean isLocal() { if (super.isLocal()) return true; return ((HARMIProxy)remoteInvoker).isLocal(); } }
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development