Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 11 java.rmi.jmod - RMI Module
JDK 11 java.rmi.jmod is the JMOD file for JDK 11 RMI (Remote Method Invocation) module.
JDK 11 RMI module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.rmi.jmod.
JDK 11 RMI module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 RMI module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.rmi.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ java/rmi/registry/Registry.java
/* * Copyright (c) 1996, 2001, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.rmi.registry; import java.rmi.AccessException; import java.rmi.AlreadyBoundException; import java.rmi.NotBoundException; import java.rmi.Remote; import java.rmi.RemoteException; /** * <code>Registry</code> is a remote interface to a simple remote * object registry that provides methods for storing and retrieving * remote object references bound with arbitrary string names. The * <code>bind</code>, <code>unbind</code>, and <code>rebind</code> * methods are used to alter the name bindings in the registry, and * the <code>lookup</code> and <code>list</code> methods are used to * query the current name bindings. * * <p>In its typical usage, a <code>Registry</code> enables RMI client * bootstrapping: it provides a simple means for a client to obtain an * initial reference to a remote object. Therefore, a registry's * remote object implementation is typically exported with a * well-known address, such as with a well-known {@link * java.rmi.server.ObjID#REGISTRY_ID ObjID} and TCP port number * (default is {@link #REGISTRY_PORT 1099}). * * <p>The {@link LocateRegistry} class provides a programmatic API for * constructing a bootstrap reference to a <code>Registry</code> at a * remote address (see the static <code>getRegistry</code> methods) * and for creating and exporting a <code>Registry</code> in the * current VM on a particular local address (see the static * <code>createRegistry</code> methods). * * <p>A <code>Registry</code> implementation may choose to restrict * access to some or all of its methods (for example, methods that * mutate the registry's bindings may be restricted to calls * originating from the local host). If a <code>Registry</code> * method chooses to deny access for a given invocation, its * implementation may throw {@link java.rmi.AccessException}, which * (because it extends {@link java.rmi.RemoteException}) will be * wrapped in a {@link java.rmi.ServerException} when caught by a * remote client. * * <p>The names used for bindings in a <code>Registry</code> are pure * strings, not parsed. A service which stores its remote reference * in a <code>Registry</code> may wish to use a package name as a * prefix in the name binding to reduce the likelihood of name * collisions in the registry. * * @author Ann Wollrath * @author Peter Jones * @since 1.1 * @see LocateRegistry */ public interface Registry extends Remote { /** Well known port for registry. */ public static final int REGISTRY_PORT = 1099; /** * Returns the remote reference bound to the specified * <code>name</code> in this registry. * * @param name the name for the remote reference to look up * * @return a reference to a remote object * * @throws NotBoundException if <code>name</code> is not currently bound * * @throws RemoteException if remote communication with the * registry failed; if exception is a <code>ServerException</code> * containing an <code>AccessException</code>, then the registry * denies the caller access to perform this operation * * @throws AccessException if this registry is local and it denies * the caller access to perform this operation * * @throws NullPointerException if <code>name</code> is <code>null</code> */ public Remote lookup(String name) throws RemoteException, NotBoundException, AccessException; /** * Binds a remote reference to the specified <code>name</code> in * this registry. * * @param name the name to associate with the remote reference * @param obj a reference to a remote object (usually a stub) * * @throws AlreadyBoundException if <code>name</code> is already bound * * @throws RemoteException if remote communication with the * registry failed; if exception is a <code>ServerException</code> * containing an <code>AccessException</code>, then the registry * denies the caller access to perform this operation (if * originating from a non-local host, for example) * * @throws AccessException if this registry is local and it denies * the caller access to perform this operation * * @throws NullPointerException if <code>name</code> is * <code>null</code>, or if <code>obj</code> is <code>null</code> */ public void bind(String name, Remote obj) throws RemoteException, AlreadyBoundException, AccessException; /** * Removes the binding for the specified <code>name</code> in * this registry. * * @param name the name of the binding to remove * * @throws NotBoundException if <code>name</code> is not currently bound * * @throws RemoteException if remote communication with the * registry failed; if exception is a <code>ServerException</code> * containing an <code>AccessException</code>, then the registry * denies the caller access to perform this operation (if * originating from a non-local host, for example) * * @throws AccessException if this registry is local and it denies * the caller access to perform this operation * * @throws NullPointerException if <code>name</code> is <code>null</code> */ public void unbind(String name) throws RemoteException, NotBoundException, AccessException; /** * Replaces the binding for the specified <code>name</code> in * this registry with the supplied remote reference. If there is * an existing binding for the specified <code>name</code>, it is * discarded. * * @param name the name to associate with the remote reference * @param obj a reference to a remote object (usually a stub) * * @throws RemoteException if remote communication with the * registry failed; if exception is a <code>ServerException</code> * containing an <code>AccessException</code>, then the registry * denies the caller access to perform this operation (if * originating from a non-local host, for example) * * @throws AccessException if this registry is local and it denies * the caller access to perform this operation * * @throws NullPointerException if <code>name</code> is * <code>null</code>, or if <code>obj</code> is <code>null</code> */ public void rebind(String name, Remote obj) throws RemoteException, AccessException; /** * Returns an array of the names bound in this registry. The * array will contain a snapshot of the names bound in this * registry at the time of the given invocation of this method. * * @return an array of the names bound in this registry * * @throws RemoteException if remote communication with the * registry failed; if exception is a <code>ServerException</code> * containing an <code>AccessException</code>, then the registry * denies the caller access to perform this operation * * @throws AccessException if this registry is local and it denies * the caller access to perform this operation */ public String[] list() throws RemoteException, AccessException; }
⏎ java/rmi/registry/Registry.java
Or download all of them as a single archive file:
File name: java.rmi-11.0.1-src.zip File size: 275032 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.scripting.jmod - Scripting Module
2023-10-10, 37709👍, 1💬
Popular Posts:
JDK 11 jdk.compiler.jmod is the JMOD file for JDK 11 Compiler tool, which can be invoked by the "jav...
Where Can I see Java Source Code files for Xerces Java 2.11.2? Here are Java Source Code files for X...
What JAR files are required to run dom\Counter.java provided in the Apache Xerces package? You can f...
JDK 11 jdk.internal.opt.jmod is the JMOD file for JDK 11 Internal Opt module. JDK 11 Internal Opt mo...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...