[jboss-cvs] JBossAS SVN: r67036 - branches/JBPAPP_4_2_0_GA_CP/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 14:03:46 EST 2007
Author: galder.zamarreno at jboss.com
Date: 2007-11-13 14:03:45 -0500 (Tue, 13 Nov 2007)
New Revision: 67036
Modified:
branches/JBPAPP_4_2_0_GA_CP/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_0_GA_CP/server/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerProxy.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/server/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerProxy.java 2007-11-13 19:03:16 UTC (rev 67035)
+++ branches/JBPAPP_4_2_0_GA_CP/server/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerProxy.java 2007-11-13 19:03:45 UTC (rev 67036)
@@ -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