[jboss-cvs] JBossAS SVN: r58120 - trunk/aspects/src/main/org/jboss/aspects/remoting
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sat Nov 4 12:18:57 EST 2006
Author: thomas.diesler at jboss.com
Date: 2006-11-04 12:18:54 -0500 (Sat, 04 Nov 2006)
New Revision: 58120
Modified:
trunk/aspects/src/main/org/jboss/aspects/remoting/InvokeRemoteInterceptor.java
Log:
connect/disconnect the remoting client
Modified: trunk/aspects/src/main/org/jboss/aspects/remoting/InvokeRemoteInterceptor.java
===================================================================
--- trunk/aspects/src/main/org/jboss/aspects/remoting/InvokeRemoteInterceptor.java 2006-11-04 16:26:30 UTC (rev 58119)
+++ trunk/aspects/src/main/org/jboss/aspects/remoting/InvokeRemoteInterceptor.java 2006-11-04 17:18:54 UTC (rev 58120)
@@ -58,6 +58,7 @@
try
{
+ client.connect();
org.jboss.aop.joinpoint.InvocationResponse response = (org.jboss.aop.joinpoint.InvocationResponse)client.invoke(invocation, null);
invocation.setResponseContextInfo(response.getContextInfo());
return response.getResponse();
@@ -83,6 +84,10 @@
throw e;
}
+ finally
+ {
+ client.disconnect();
+ }
}
Object readResolve() throws ObjectStreamException {
More information about the jboss-cvs-commits
mailing list