[jboss-cvs] JBossAS SVN: r67296 - branches/JBPAPP_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 20 09:31:15 EST 2007


Author: galder.zamarreno at jboss.com
Date: 2007-11-20 09:31:15 -0500 (Tue, 20 Nov 2007)
New Revision: 67296

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

Modified: branches/JBPAPP_4_2/server/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerProxy.java
===================================================================
--- branches/JBPAPP_4_2/server/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerProxy.java	2007-11-20 14:30:40 UTC (rev 67295)
+++ branches/JBPAPP_4_2/server/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerProxy.java	2007-11-20 14:31:15 UTC (rev 67296)
@@ -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