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/activation/Activator.java
/* * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.rmi.activation; import java.rmi.MarshalledObject; import java.rmi.Remote; import java.rmi.RemoteException; import java.rmi.activation.UnknownObjectException; /** * The <code>Activator</code> facilitates remote object activation. A * "faulting" remote reference calls the activator's * <code>activate</code> method to obtain a "live" reference to a * "activatable" remote object. Upon receiving a request for activation, * the activator looks up the activation descriptor for the activation * identifier, <code>id</code>, determines the group in which the * object should be activated initiates object re-creation via the * group's <code>ActivationInstantiator</code> (via a call to the * <code>newInstance</code> method). The activator initiates the * execution of activation groups as necessary. For example, if an * activation group for a specific group identifier is not already * executing, the activator initiates the execution of a VM for the * group. <p> * * The <code>Activator</code> works closely with * <code>ActivationSystem</code>, which provides a means for registering * groups and objects within those groups, and <code>ActivationMonitor</code>, * which receives information about active and inactive objects and inactive * groups. <p> * * The activator is responsible for monitoring and detecting when * activation groups fail so that it can remove stale remote references * to groups and active object's within those groups. * * @author Ann Wollrath * @see ActivationInstantiator * @see ActivationGroupDesc * @see ActivationGroupID * @since 1.2 */ public interface Activator extends Remote { /** * Activate the object associated with the activation identifier, * <code>id</code>. If the activator knows the object to be active * already, and <code>force</code> is false , the stub with a * "live" reference is returned immediately to the caller; * otherwise, if the activator does not know that corresponding * the remote object is active, the activator uses the activation * descriptor information (previously registered) to determine the * group (VM) in which the object should be activated. If an * <code>ActivationInstantiator</code> corresponding to the * object's group descriptor already exists, the activator invokes * the activation group's <code>newInstance</code> method passing * it the object's id and descriptor. <p> * * If the activation group for the object's group descriptor does * not yet exist, the activator starts an * <code>ActivationInstantiator</code> executing (by spawning a * child process, for example). When the activator receives the * activation group's call back (via the * <code>ActivationSystem</code>'s <code>activeGroup</code> * method) specifying the activation group's reference, the * activator can then invoke that activation instantiator's * <code>newInstance</code> method to forward each pending * activation request to the activation group and return the * result (a marshalled remote object reference, a stub) to the * caller.<p> * * Note that the activator receives a "marshalled" object instead of a * Remote object so that the activator does not need to load the * code for that object, or participate in distributed garbage * collection for that object. If the activator kept a strong * reference to the remote object, the activator would then * prevent the object from being garbage collected under the * normal distributed garbage collection mechanism. * * @param id the activation identifier for the object being activated * @param force if true, the activator contacts the group to obtain * the remote object's reference; if false, returning the cached value * is allowed. * @return the remote object (a stub) in a marshalled form * @exception ActivationException if object activation fails * @exception UnknownObjectException if object is unknown (not registered) * @exception RemoteException if remote call fails * @since 1.2 */ public MarshalledObject<? extends Remote> activate(ActivationID id, boolean force) throws ActivationException, UnknownObjectException, RemoteException; }
⏎ java/rmi/activation/Activator.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, 37348👍, 1💬
Popular Posts:
How to download and install JDK (Java Development Kit) 5? If you want to write Java applications, yo...
Apache Commons Lang 3 is the 3rd version of Apache Commons Lang, which provides a host of helper uti...
Apache Neethi provides general framework for the programmers to use WS Policy. It is compliant with ...
Saxon-HE (home edition) is an open source product available under the Mozilla Public License. It pro...
Apache Ant Source Code Files are inside the Apache Ant source package file like apache-ant-1.10.10-s...