Package org.jboss.test.jmx.invokerproxy

Examples of org.jboss.test.jmx.invokerproxy.MyServiceMBean


   }

   public void testInvokeTargetMethod() throws Exception
   {
      InitialContext ic = new InitialContext();
      MyServiceMBean myService = (MyServiceMBean)ic.lookup("MyServiceInvokeTarget");
      final String arg = "myAction";
      String result = myService.myAction(arg);
      assertEquals(arg, result);
   }
View Full Code Here


   }

   public void testInvoke() throws Exception
   {
      InitialContext ic = new InitialContext();
      MyServiceMBean myService = (MyServiceMBean)ic.lookup("MyService");
      final String arg = "invoke";
      String result = myService.myAction(arg);
      assertEquals(arg, result);
   }
View Full Code Here

TOP

Related Classes of org.jboss.test.jmx.invokerproxy.MyServiceMBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.