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 1.1 Source Code Directory
JDK 1.1 source code directory contains Java source code for JDK 1.1 core classes: "C:\fyicenter\jdk-1.1.8\src".
Here is the list of Java classes of the JDK 1.1 source code:
✍: FYIcenter
⏎ java/rmi/server/RemoteServer.java
/* * @(#)RemoteServer.java 1.11 01/12/10 * * Copyright 2002 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package java.rmi.server; import java.rmi.*; /** * The RemoteServer class is the common superclass to all server * implementations and provides the framework to support a wide range * of remote reference semantics. Specifically, the functions needed * to create and export remote objects (i.e. to make them remotely * available) are provided abstractly by RemoteServer and concretely * by its subclass(es). <p> * * The subclass selected identifies the semantics of the remote * reference, for example whether the server is a single object or is * a replicated object requiring communications with multiple * locations. At present only UnicastRemoteObject is supported. */ public abstract class RemoteServer extends RemoteObject { private static final long serialVersionUID = -4100238210092549637L; private static String logname = "RMI"; private static LogStream log; protected RemoteServer() { super(); } protected RemoteServer(RemoteRef ref) { super(ref); } /** * Return the hostname of the current client. When called from a * thread actively handling a remote method invocation the * hostname of the client is returned. * @exception ServerNotActiveException If called outside of servicing * a remote method invocation. */ public static String getClientHost() throws ServerNotActiveException { try { Class refClass = Class.forName(RemoteRef.packagePrefix + ".UnicastServerRef"); ServerRef ref = (ServerRef)refClass.newInstance(); return ref.getClientHost(); } catch (ServerNotActiveException e) { throw e; } catch (Exception e) { throw new ServerNotActiveException("Client host unobtainable"); } } /** * Log RMI calls to the output stream <I>out</I>. If <I>out</I> is * null, call logging is turned off. */ public static void setLog(java.io.OutputStream out) { if (out == null) { log = null; } else { LogStream tempLog = LogStream.log(logname); tempLog.setOutputStream(out); log = tempLog; } } /** * Returns stream for the RMI call log. */ public static java.io.PrintStream getLog() { return log; } static { // initialize log try { log = (Boolean.getBoolean("java.rmi.server.logCalls") ? LogStream.log(logname) : null); } catch (Exception e) { } } }
⏎ java/rmi/server/RemoteServer.java
Or download all of them as a single archive file:
File name: jdk-1.1.8-src.zip File size: 1574187 bytes Release date: 2018-11-16 Download
⇒ Backup JDK 1.1 Installation Directory
2018-11-17, 150559👍, 0💬
Popular Posts:
JDK 11 java.naming.jmod is the JMOD file for JDK 11 Naming module. JDK 11 Naming module compiled cla...
JDK 17 jdk.compiler.jmod is the JMOD file for JDK 17 Compiler tool, which can be invoked by the "jav...
Joda-Time provides a quality replacement for the Java date and time classes. The design allows for m...
ANTLR is a powerful parser generator for multiple programming languages including Java. ANTLR contai...
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms, it was develo...