Searched refs:Naming (Results 1 - 25 of 33) sorted by relevance

12

/openjdk10/jdk/test/java/rmi/Naming/
H A DLookupNameWithColon.java26 * @summary Ensure that java.rmi.Naming.lookup functions properly for names
38 import java.rmi.Naming;
53 Naming.lookup("rmi://localhost:" + port + "/" + names[i]);
H A DLookupIPv6.java25 * @summary Ensure that java.rmi.Naming.lookup can handle URLs containing
40 import java.rmi.Naming;
55 Naming.lookup(urls[i]);
81 Naming.lookup(String.format("rmi://[%s]:%d/foo",
H A DRmiIsNoScheme.java26 * @summary Protocol "rmi:" is used in contrary to spec. The Naming.list
54 Naming.rebind("//:" + registryPort + "/RmiIsNoScheme",
56 String name = Naming.list("//:" + registryPort)[0];
H A DDefaultRegistryPort.java27 * @summary change in default URL port causes regression in java.rmi.Naming
40 * Ensure that the default registry port for java.rmi.Naming URLs
42 * lookup with a Naming URL that uses the default port. Test fails
48 import java.rmi.Naming;
92 Remote myself = Naming.lookup("rmi://localhost/myself");
H A DUnderscoreHost.java27 * @summary Ensure that Naming.java correctly parses host names with '_' in
44 import java.rmi.Naming;
87 Naming.lookup("rmi://" + HOSTNAME +
94 * contain underscores, then the Naming.lookup invocation
100 "java.rmi.Naming Parsing error:" +
106 * contain underscores, then the Naming.lookup invocation
/openjdk10/jdk/test/sun/rmi/rmic/newrmic/equivalence/
H A DComputeServerImpl.java55 Naming.rebind("/ComputeServer", new ComputeServerImpl());
H A DServerImpl.java68 Naming.rebind("/ServerImpl", obj);
H A DAgentServerImpl.java61 Naming.rebind("/AgentServer", server);
H A DNotActivatableServerImpl.java70 Naming.rebind(SERVER_OBJECT, rsi);
/openjdk10/jdk/test/java/rmi/invalidName/
H A DInvalidName.java26 * @summary Naming.lookup fails to throw exception for invalid hostname
29 * @summary (1.x) java.rmi.Naming defaults to local hostname, not
47 import java.rmi.Naming;
57 // ensure that an exception is thrown for Naming URL with '#'
65 Naming.lookup(testName);
86 Registry registry = (Registry) Naming.lookup("rmi:///");
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/
H A DRMIHelper.java64 Naming.rebind(name, object);
70 Naming.rebind(name, object);
85 Naming.unbind(name);
113 return Naming.lookup(nameBuf.toString());
/openjdk10/jdk/test/java/rmi/Naming/legalRegistryNames/
H A DLegalRegistryNames.java27 * @summary Naming assumes '/' is present in relative URL; change in URL causes regression
41 import java.rmi.Naming;
51 * Ensure that all legal forms of Naming URLs operate with the
52 * java.rmi.Naming interface. This test requires using the default RMI Registry
94 Naming.rebind(s, legal);
107 shouldFind = Naming.lookup(s);
108 Naming.unbind(s);
/openjdk10/jdk/test/java/rmi/transport/dgcDeadLock/
H A DDGCDeadLock.java118 Test foo = (Test) Naming.lookup("rmi://:" +
137 Test bar = (Test) Naming.lookup("rmi://:" +
H A DTestImpl.java61 Naming.rebind("rmi://:" +
68 Naming.rebind("rmi://localhost:" +
/openjdk10/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/unicast/
H A DUseCustomSocketFactory.java82 obj = (Echo) Naming.lookup("//:" + registryPort +
111 Naming.unbind("//:" + registryPort +
H A DEchoImpl.java69 Naming.rebind("//:" + registryPort +
/openjdk10/jdk/test/java/rmi/server/useCustomRef/
H A DUseCustomRef.java105 Naming.rebind(name, cr);
111 obj = (Ping) Naming.lookup(name);
144 Naming.rebind(name, cr);
146 obj = (Ping) Naming.lookup(name);
149 Naming.unbind(name);
/openjdk10/jdk/test/java/rmi/testlibrary/
H A DRMIRegistryRunner.java63 Naming.rebind("rmi://localhost:" + port +
H A DRegistryRunner.java67 Naming.lookup("rmi://localhost:" +
122 Naming.rebind("rmi://localhost:" + port +
H A DActivationLibrary.java29 import java.rmi.Naming;
/openjdk10/jdk/test/sun/rmi/runtime/Log/checkLogging/
H A DCheckLogging.java52 import java.rmi.Naming;
156 Naming.list(LOCATION);
168 Naming.list(LOCATION);
183 Naming.lookup(LOCATION + "notthere");
/openjdk10/jdk/test/java/rmi/transport/checkFQDN/
H A DCheckFQDNClient.java62 tell = (TellServerName) Naming.lookup("rmi://:" +
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/rngom/xml/util/
H A DNaming.java48 public class Naming { class
50 private Naming() { } method in class:Naming
/openjdk10/jdk/src/java.rmi/share/classes/java/rmi/activation/
H A DActivationGroup.java31 import java.rmi.Naming;
452 Naming.lookup("//:" + port +
/openjdk10/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/
H A DUseCustomSocketFactory.java112 echo[i] = (Echo) Naming.lookup("//:" + registryPort +
142 Naming.unbind("//:" + registryPort + "/EchoServer");

Completed in 374 milliseconds

12