[jboss-cvs] JBossAS SVN: r67032 - branches/Branch_4_2/server/src/main/org/jboss/invocation/unified/interfaces.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Nov 13 13:12:48 EST 2007


Author: galder.zamarreno at jboss.com
Date: 2007-11-13 13:12:48 -0500 (Tue, 13 Nov 2007)
New Revision: 67032

Modified:
   branches/Branch_4_2/server/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerProxy.java
Log:
[JBAS-4950] Convenience factory method added in invoker proxy for testing purpouses.

Modified: branches/Branch_4_2/server/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerProxy.java
===================================================================
--- branches/Branch_4_2/server/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerProxy.java	2007-11-13 18:11:55 UTC (rev 67031)
+++ branches/Branch_4_2/server/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerProxy.java	2007-11-13 18:12:48 UTC (rev 67032)
@@ -41,6 +41,7 @@
  * the remoting framework for making invocations.
  *
  * @author <a href="mailto:tom.elrod at jboss.com">Tom Elrod</a>
+ * @author <a href="mailto:galder.zamarreno at jboss.com">Galder Zamarreno</a>
  */
 public class UnifiedInvokerProxy implements Invoker, Externalizable
 {
@@ -93,7 +94,7 @@
 
       try
       {
-         client = new Client(locator, getSubSystem());
+         client = createClient(locator, getSubSystem());
          client.connect();
       }
       catch(Exception e)
@@ -255,4 +256,8 @@
       }
    }
 
+   protected Client createClient(InvokerLocator locator, String subSystem) throws Exception
+   {
+      return new Client(locator, subSystem);      
+   }
 }
\ No newline at end of file




More information about the jboss-cvs-commits mailing list