FileDocCategorySizeDatePackage
Service.javaAPI DocJBoss 4.2.11880Fri Jul 13 21:02:24 BST 2007org.jboss.test.asynch

Service

public class Service extends Object
Comment
author
Bill Burke
version
$Revision: 57186 $
@org.jboss.aspects.jmx.MBean

Fields Summary
Constructors Summary
Methods Summary
public voidstart()

      InitialContext ctx = new InitialContext();
      POJO pojo = new POJO();
      Dispatcher.singleton.registerTarget("pojo", pojo);
      System.out.println("*** hello ***");

      ctx.rebind("pojo", AsynchRemoting.createRemoteProxy("pojo", POJO.class, new InvokerLocator("socket://localhost:5150")));
   
public voidstop()

      System.out.println("**** STOP ***");
      Dispatcher.singleton.unregisterTarget("pojo");