Package org.eclipse.ecf.remoteservice.rpc.identity

Examples of org.eclipse.ecf.remoteservice.rpc.identity.RpcNamespace.createInstance()


    RpcNamespace namespace = new RpcNamespace(RpcNamespace.NAME, null);
    Object[] parameters;
    try {     
      String url = RpcConstants.TEST_ECHO_TARGET;
      parameters = new Object[] {new URL(url)};
      ID id = namespace.createInstance(parameters);
      assertEquals(url, id.getName());
    } catch (MalformedURLException e) {
      fail();
    }   
  }
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.