Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
Collections:
Other Resources:
JRE 8 rt.jar - javax.* Package Source Code
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries.
JRE (Java Runtime) 8 is the runtime environment included in JDK 8.
JRE 8 rt.jar libraries are divided into 6 packages:
com.* - Internal Oracle and Sun Microsystems libraries java.* - Standard Java API libraries. javax.* - Extended Java API libraries. jdk.* - JDK supporting libraries. org.* - Third party libraries. sun.* - Old libraries developed by Sun Microsystems.
JAR File Information:
Directory of C:\fyicenter\jdk-1.8.0_191\jre\lib 63,596,151 rt.jar
Here is the list of Java classes of the javax.* package in JRE 1.8.0_191 rt.jar. Java source codes are also provided.
✍: FYIcenter
⏎ javax/management/remote/rmi/RMIIIOPServerImpl.java
/* * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.management.remote.rmi; import java.io.IOException; import java.rmi.Remote; import java.security.AccessControlContext; import java.security.AccessController; import java.security.PrivilegedActionException; import java.security.PrivilegedExceptionAction; import java.util.Map; import java.util.Collections; import javax.security.auth.Subject; import com.sun.jmx.remote.internal.IIOPHelper; /** * <p>An {@link RMIServerImpl} that is exported through IIOP and that * creates client connections as RMI objects exported through IIOP. * User code does not usually reference this class directly.</p> * * @see RMIServerImpl * * @since 1.5 */ public class RMIIIOPServerImpl extends RMIServerImpl { /** * <p>Creates a new {@link RMIServerImpl}.</p> * * @param env the environment containing attributes for the new * <code>RMIServerImpl</code>. Can be null, which is equivalent * to an empty Map. * * @exception IOException if the RMI object cannot be created. */ public RMIIIOPServerImpl(Map<String,?> env) throws IOException { super(env); this.env = (env == null) ? Collections.<String, Object>emptyMap() : env; callerACC = AccessController.getContext(); } protected void export() throws IOException { IIOPHelper.exportObject(this); } protected String getProtocol() { return "iiop"; } /** * <p>Returns an IIOP stub.</p> * The stub might not yet be connected to the ORB. The stub will * be serializable only if it is connected to the ORB. * @return an IIOP stub. * @exception IOException if the stub cannot be created - e.g the * RMIIIOPServerImpl has not been exported yet. **/ public Remote toStub() throws IOException { // javax.rmi.CORBA.Stub stub = // (javax.rmi.CORBA.Stub) PortableRemoteObject.toStub(this); final Remote stub = IIOPHelper.toStub(this); // java.lang.System.out.println("NON CONNECTED STUB " + stub); // org.omg.CORBA.ORB orb = // org.omg.CORBA.ORB.init((String[])null, (Properties)null); // stub.connect(orb); // java.lang.System.out.println("CONNECTED STUB " + stub); return stub; } /** * <p>Creates a new client connection as an RMI object exported * through IIOP. * * @param connectionId the ID of the new connection. Every * connection opened by this connector server will have a * different ID. The behavior is unspecified if this parameter is * null. * * @param subject the authenticated subject. Can be null. * * @return the newly-created <code>RMIConnection</code>. * * @exception IOException if the new client object cannot be * created or exported. */ protected RMIConnection makeClient(String connectionId, Subject subject) throws IOException { if (connectionId == null) throw new NullPointerException("Null connectionId"); RMIConnection client = new RMIConnectionImpl(this, connectionId, getDefaultClassLoader(), subject, env); IIOPHelper.exportObject(client); return client; } protected void closeClient(RMIConnection client) throws IOException { IIOPHelper.unexportObject(client); } /** * <p>Called by {@link #close()} to close the connector server by * unexporting this object. After returning from this method, the * connector server must not accept any new connections.</p> * * @exception IOException if the attempt to close the connector * server failed. */ protected void closeServer() throws IOException { IIOPHelper.unexportObject(this); } @Override RMIConnection doNewClient(final Object credentials) throws IOException { if (callerACC == null) { throw new SecurityException("AccessControlContext cannot be null"); } try { return AccessController.doPrivileged( new PrivilegedExceptionAction<RMIConnection>() { public RMIConnection run() throws IOException { return superDoNewClient(credentials); } }, callerACC); } catch (PrivilegedActionException pae) { throw (IOException) pae.getCause(); } } RMIConnection superDoNewClient(Object credentials) throws IOException { return super.doNewClient(credentials); } private final Map<String, ?> env; private final AccessControlContext callerACC; }
⏎ javax/management/remote/rmi/RMIIIOPServerImpl.java
Or download all of them as a single archive file:
File name: jre-rt-javax-1.8.0_191-src.zip File size: 5381005 bytes Release date: 2018-10-28 Download
⇒ JRE 8 rt.jar - org.* Package Source Code
2024-07-16, 319405👍, 7💬
Popular Posts:
What Is javamail1_1_3.zip? javamail1_1_3.zip is the binary package of JavaMail API 1.1.3 in ZIP form...
MXP1 is a stable XmlPull parsing engine that is based on ideas from XPP and in particular XPP2 but c...
JDK 11 jdk.internal.JVM Stat.jmod is the JMOD file for JDK 11 Internal Jvmstat module. JDK 11 Intern...
JDK 11 java.naming.jmod is the JMOD file for JDK 11 Naming module. JDK 11 Naming module compiled cla...
maven-embedder-3.8.6.jar is the JAR file for Apache Maven 3.8.6 Embedder module. Apache Maven is a s...