Searched defs:registry (Results 1 - 25 of 34) sorted by relevance

12

/openjdk7/jdk/src/share/classes/com/sun/jndi/rmi/registry/
H A DRemoteReference.java26 package com.sun.jndi.rmi.registry;
H A DReferenceWrapper.java26 package com.sun.jndi.rmi.registry;
H A DRegistryContextFactory.java26 package com.sun.jndi.rmi.registry;
38 * A RegistryContextFactory takes an RMI registry reference, and
39 * creates the corresponding RMI object or registry context. In
41 * RMI registry as an initial context.
45 * the appropriate registry. Otherwise, the default URL "rmi:" is used.
47 * An RMI registry reference contains one or more StringRefAddrs of
60 * The type of each address in an RMI registry reference.
83 * registry, as opposed to looking up the registry itself),
134 * Returns true if argument is an RMI registry referenc
[all...]
H A DRegistryContext.java26 package com.sun.jndi.rmi.registry;
33 import java.rmi.registry.Registry;
34 import java.rmi.registry.LocateRegistry;
41 * A RegistryContext is a context representing a remote RMI registry.
50 private Registry registry; field in class:RegistryContext
64 * Returns a context for the registry at a given host and port.
85 registry = getRegistry(host, port, socketFactory);
91 * Returns a clone of a registry context. The context's private state
98 registry = ctx.registry;
[all...]
/openjdk7/jdk/src/share/classes/java/rmi/registry/
H A DLocateRegistry.java26 package java.rmi.registry;
34 import sun.rmi.registry.RegistryImpl;
43 * remote object registry on a particular host (including the local host), or
44 * to create a remote object registry that accepts calls on a specific port.
48 * the remote registry and will succeed even if no registry is running on
50 * registry returned as a result of this method may fail.
55 * @see java.rmi.registry.Registry
66 * the local host on the default registry port of 1099.
68 * @return reference (a stub) to the remote object registry
[all...]
H A DRegistryHandler.java26 package java.rmi.registry;
44 * Returns a "stub" for contacting a remote registry
48 * longer uses the <code>RegistryHandler</code> to obtain the registry's
50 * @param host name of remote registry host
51 * @param port remote registry port
52 * @return remote registry stub
65 * longer uses the <code>RegistryHandler</code> to obtain the registry's
67 * @param port port to export registry on
68 * @return registry stub
H A DRegistry.java25 package java.rmi.registry;
35 * object registry that provides methods for storing and retrieving
38 * methods are used to alter the name bindings in the registry, and
44 * initial reference to a remote object. Therefore, a registry's
59 * mutate the registry's bindings may be restricted to calls
71 * collisions in the registry.
80 /** Well known port for registry. */
85 * <code>name</code> in this registry.
94 * registry failed; if exception is a <code>ServerException</code>
95 * containing an <code>AccessException</code>, then the registry
[all...]
/openjdk7/jdk/src/share/classes/javax/imageio/spi/
H A DRegisterableService.java42 * <code>registry</code>. The object may already be registered
45 * @param registry a <code>ServiceRegistry</code> where this
48 * registry category under which this object has been registered.
50 void onRegistration(ServiceRegistry registry, Class<?> category); argument
55 * <code>registry</code>. The object may still be registered
58 * @param registry a <code>ServiceRegistry</code> from which this
61 * registry category from which this object is being deregistered.
63 void onDeregistration(ServiceRegistry registry, Class<?> category); argument
H A DIIOServiceProvider.java102 * itself from the registry.
104 * <p> Only the registry should call this method.
110 public void onRegistration(ServiceRegistry registry, argument
117 * <p> Only the registry should call this method.
123 public void onDeregistration(ServiceRegistry registry, argument
H A DServiceRegistry.java39 * A registry for service provider instances.
88 * <p> An application may customize the contents of a registry as it
237 * Adds a service provider object to the registry. The provider
245 * category is removed or the registry is garbage collected.
278 * Adds a service provider object to the registry. The provider
279 * is associated within each category present in the registry
287 * it is deregistered from a category or when the registry is
308 * <code>Iterator</code> to the registry. Each provider is
309 * associated within each category present in the registry whose
317 * it is deregistered from a category or when the registry i
689 ServiceRegistry registry; field in class:SubRegistry
699 SubRegistry(ServiceRegistry registry, Class category) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/beans/finder/
H A DPersistenceDelegateFinder.java42 private final Map<Class<?>, PersistenceDelegate> registry; field in class:PersistenceDelegateFinder
46 this.registry = new HashMap<Class<?>, PersistenceDelegate>();
50 synchronized (this.registry) {
52 this.registry.put(type, delegate);
55 this.registry.remove(type);
63 synchronized (this.registry) {
64 delegate = this.registry.get(type);
H A DPropertyEditorFinder.java54 private final WeakCache<Class<?>, Class<?>> registry; field in class:PropertyEditorFinder
59 this.registry = new WeakCache<Class<?>, Class<?>>();
60 this.registry.put(Byte.TYPE, ByteEditor.class);
61 this.registry.put(Short.TYPE, ShortEditor.class);
62 this.registry.put(Integer.TYPE, IntegerEditor.class);
63 this.registry.put(Long.TYPE, LongEditor.class);
64 this.registry.put(Boolean.TYPE, BooleanEditor.class);
65 this.registry.put(Float.TYPE, FloatEditor.class);
66 this.registry.put(Double.TYPE, DoubleEditor.class);
70 synchronized (this.registry) {
[all...]
/openjdk7/jdk/test/java/rmi/testlibrary/
H A DRegistryRunner.java27 import java.rmi.registry.*;
31 * Class to run a registry whos VM can be told to exit remotely; using
38 private static Registry registry = null; field in class:RegistryRunner
45 * Ask the registry to exit instead of forcing it do so; this
56 * Request that the registry process exit and handle
94 // create a registry
95 registry = LocateRegistry.createRegistry(port);
/openjdk7/jdk/test/java/rmi/transport/handshakeFailure/
H A DHandshakeFailure.java43 import java.rmi.registry.LocateRegistry;
44 import java.rmi.registry.Registry;
61 Registry registry = LocateRegistry.getRegistry(PORT);
62 Connector connector = new Connector(registry);
112 private final Registry registry; field in class:HandshakeFailure.Connector
117 Connector(Registry registry) { argument
118 this.registry = registry;
123 registry.lookup("Dale Cooper");
/openjdk7/jdk/test/java/rmi/transport/handshakeTimeout/
H A DHandshakeTimeout.java45 import java.rmi.registry.LocateRegistry;
46 import java.rmi.registry.Registry;
66 Registry registry = LocateRegistry.getRegistry(PORT);
67 Connector connector = new Connector(registry);
110 private final Registry registry; field in class:HandshakeTimeout.Connector
115 Connector(Registry registry) { argument
116 this.registry = registry;
121 registry.lookup("Dale Cooper");
/openjdk7/jdk/src/share/classes/sun/tools/jstatd/
H A DJstatd.java30 import java.rmi.registry.Registry;
31 import java.rmi.registry.LocateRegistry;
45 private static Registry registry; field in class:Jstatd
60 * either the registry is not running or we cannot contact it.
61 * start an internal registry if requested.
63 if (startRegistry && registry == null) {
65 registry = LocateRegistry.createRegistry(localport);
69 System.out.println("Could not contact registry\n"
153 // could not attach to or create a registry
154 System.out.println("Could not contact RMI registry\
[all...]
/openjdk7/jdk/test/java/rmi/activation/ActivationSystem/stubClassesPermitted/
H A DStubClassesPermitted.java38 import java.rmi.registry.Registry;
51 * sun.rmi.registry.RegistryImpl_Stub
63 private static Registry registry = null; field in class:StubClassesPermitted
76 registry = TestLibrary.createRegistryOnUnusedPort();
77 registryPort = TestLibrary.getRegistryPort(registry);
122 // ensure registry stub can be passed in a remote call
123 System.err.println("getting the registry");
124 registry = canCreateStubs.getRegistry();
190 // obtain reference to the test registry
191 registry
[all...]
/openjdk7/jdk/src/share/classes/sun/rmi/registry/
H A DRegistryImpl.java26 package sun.rmi.registry;
39 import java.rmi.registry.Registry;
60 * A "registry" exists on every node that allows RMI connections to
61 * servers on that node. The registry on a particular node contains a
63 * node boots, the registry database is empty. The names stored in the
64 * registry are pure and are not parsed. A service storing itself in
65 * the registry may want to prefix its name of the service by a package
67 * registry.
69 * The LocateRegistry class is used to obtain registry for different hosts.
71 * @see java.rmi.registry
83 private static RegistryImpl registry; field in class:RegistryImpl
[all...]
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/bmp/
H A DBMPImageReaderSpi.java64 public void onRegistration(ServiceRegistry registry, argument
H A DBMPImageWriterSpi.java73 public void onRegistration(ServiceRegistry registry, argument
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/wbmp/
H A DWBMPImageWriterSpi.java70 public void onRegistration(ServiceRegistry registry, argument
H A DWBMPImageReaderSpi.java68 public void onRegistration(ServiceRegistry registry, argument
/openjdk7/jdk/test/sun/rmi/runtime/Log/checkLogging/
H A DCheckLogging.java49 import java.rmi.registry.LocateRegistry;
53 import java.rmi.registry.Registry;
97 /* use registry to generate client & server call log info */
98 private static Registry registry; field in class:CheckLogging
101 registry = TestLibrary.createRegistryOnUnusedPort();
102 REGISTRY_PORT = TestLibrary.getRegistryPort(registry);
105 TestLibrary.bomb("could not create registry");
221 TestLibrary.unexport(registry);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/
H A DRuntimeElementInfoImpl.java56 public RuntimeElementInfoImpl(RuntimeModelBuilder modelBuilder, RegistryInfoImpl registry, Method method) throws IllegalAnnotationException { argument
57 super(modelBuilder, registry, method);
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_tracker.c233 static JNINativeMethod registry[4] = variable
293 registerNatives(env, tracker_class, registry,
294 (int)sizeof(registry)/(int)sizeof(registry[0]));

Completed in 176 milliseconds

12