[jboss-cvs] JBossAS SVN: r88023 - projects/fresh/trunk/fresh-shell/src/main/java/org/jboss/fresh/shell/commands.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Apr 29 16:33:27 EDT 2009


Author: alesj
Date: 2009-04-29 16:33:27 -0400 (Wed, 29 Apr 2009)
New Revision: 88023

Modified:
   projects/fresh/trunk/fresh-shell/src/main/java/org/jboss/fresh/shell/commands/MCBeanInvokeExe.java
Log:
Mock mbinvoke.

Modified: projects/fresh/trunk/fresh-shell/src/main/java/org/jboss/fresh/shell/commands/MCBeanInvokeExe.java
===================================================================
--- projects/fresh/trunk/fresh-shell/src/main/java/org/jboss/fresh/shell/commands/MCBeanInvokeExe.java	2009-04-29 20:32:06 UTC (rev 88022)
+++ projects/fresh/trunk/fresh-shell/src/main/java/org/jboss/fresh/shell/commands/MCBeanInvokeExe.java	2009-04-29 20:33:27 UTC (rev 88023)
@@ -36,8 +36,9 @@
    protected void invoke(PrintWriter out, String beanName, String methodName, String[] sig, Object[] vals, BufferObjectWriter oout) throws Exception
    {
       try
-      {
-         bus.invoke(beanName, methodName, vals, sig);
+      {         
+         Object retobj = bus.invoke(beanName, methodName, vals, sig);
+         oout.writeObject(retobj);
       }
       catch (Throwable t)
       {




More information about the jboss-cvs-commits mailing list