Examples of XMBeanServiceRemote


Examples of org.jboss.tutorial.service.bean.XMBeanServiceRemote

   }

   public static void invokeXMBean(InitialContext ctx, RMIAdaptor server) throws Exception
   {
      System.out.println("invoking XMBean (configured through deployment descriptor)...");
      XMBeanServiceRemote xmbeanRemote = (XMBeanServiceRemote) ctx.lookup("XMBeanService/remote");
      xmbeanRemote.remoteBusinessMethodToSetAttribute(50);
      System.out.println("Set the attribute value to 50");
     
      System.out.println("Invoking XMBean through JMX");
      ObjectName service = new ObjectName(XMBeanService.OBJECT_NAME);
      //Get attribute of singleton XMBeanService via JMX
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.