Package org.jboss.aspects.remoting.test.simple

Examples of org.jboss.aspects.remoting.test.simple.VMIdentifier


      System.out.println(controller);
     
      AbstractBeanMetaData bmd = new AbstractBeanMetaData("VMIdentifier", VMIdentifierImpl.class.getName());
      controller.install(bmd);
     
      VMIdentifier identifierHere = new VMIdentifierImpl();
     
      VMID firstHere = identifierHere.getCurrentVMID();
      VMID secondHere = identifierHere.getCurrentVMID();
      assertEquals(firstHere, secondHere);
     
      VMIdentifier identifierThere = (VMIdentifier) ctx.lookup("VMIdentifier");
     
      VMID firstThere = identifierThere.getCurrentVMID();
      VMID secondThere = identifierThere.getCurrentVMID();
      assertEquals(firstThere, secondThere);
     
      assertFalse(firstHere.equals(firstThere));
   }
View Full Code Here

TOP

Related Classes of org.jboss.aspects.remoting.test.simple.VMIdentifier

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.