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 - com.* 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 com.* package in JRE 1.8.0_191 rt.jar. Java source codes are also provided.
✍: FYIcenter
⏎ com/sun/corba/se/impl/protocol/BootstrapServerRequestDispatcher.java
/*
* Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package com.sun.corba.se.impl.protocol ;
import java.util.Iterator ;
import org.omg.CORBA.SystemException ;
import com.sun.corba.se.pept.protocol.MessageMediator;
import com.sun.corba.se.spi.ior.IOR ;
import com.sun.corba.se.spi.ior.ObjectKey ;
import com.sun.corba.se.spi.orb.ORB ;
import com.sun.corba.se.spi.protocol.CorbaServerRequestDispatcher ;
import com.sun.corba.se.spi.protocol.CorbaMessageMediator;
import com.sun.corba.se.impl.encoding.MarshalInputStream ;
import com.sun.corba.se.impl.encoding.MarshalOutputStream ;
import com.sun.corba.se.spi.logging.CORBALogDomains ;
import com.sun.corba.se.impl.logging.ORBUtilSystemException ;
/**
* Class BootstrapServerRequestDispatcher handles the requests coming to the
* BootstrapServer. It implements Server so that it can be registered
* as a subcontract. It is passed a BootstrapServiceProperties object
* which contains
* the supported ids and their values for the bootstrap service. This
* Properties object is only read from, never written to, and is shared
* among all threads.
* <p>
* The BootstrapServerRequestDispatcher responds primarily to GIOP requests,
* but LocateRequests are also handled for graceful interoperability.
* The BootstrapServerRequestDispatcher handles one request at a time.
*/
public class BootstrapServerRequestDispatcher
implements CorbaServerRequestDispatcher
{
private ORB orb;
ORBUtilSystemException wrapper ;
private static final boolean debug = false;
public BootstrapServerRequestDispatcher(ORB orb )
{
this.orb = orb;
this.wrapper = ORBUtilSystemException.get( orb,
CORBALogDomains.RPC_PROTOCOL ) ;
}
/**
* Dispatch is called by the ORB and will serve get(key) and list()
* invocations on the initial object key.
*/
public void dispatch(MessageMediator messageMediator)
{
CorbaMessageMediator request = (CorbaMessageMediator) messageMediator;
CorbaMessageMediator response = null;
try {
MarshalInputStream is = (MarshalInputStream)
request.getInputObject();
String method = request.getOperationName();
response = request.getProtocolHandler().createResponse(request, null);
MarshalOutputStream os = (MarshalOutputStream)
response.getOutputObject();
if (method.equals("get")) {
// Get the name of the requested service
String serviceKey = is.read_string();
// Look it up
org.omg.CORBA.Object serviceObject =
orb.getLocalResolver().resolve( serviceKey ) ;
// Write reply value
os.write_Object(serviceObject);
} else if (method.equals("list")) {
java.util.Set keys = orb.getLocalResolver().list() ;
os.write_long( keys.size() ) ;
Iterator iter = keys.iterator() ;
while (iter.hasNext()) {
String obj = (String)iter.next() ;
os.write_string( obj ) ;
}
} else {
throw wrapper.illegalBootstrapOperation( method ) ;
}
} catch (org.omg.CORBA.SystemException ex) {
// Marshal the exception thrown
response = request.getProtocolHandler().createSystemExceptionResponse(
request, ex, null);
} catch (java.lang.RuntimeException ex) {
// Unknown exception
SystemException sysex = wrapper.bootstrapRuntimeException( ex ) ;
response = request.getProtocolHandler().createSystemExceptionResponse(
request, sysex, null ) ;
} catch (java.lang.Exception ex) {
// Unknown exception
SystemException sysex = wrapper.bootstrapException( ex ) ;
response = request.getProtocolHandler().createSystemExceptionResponse(
request, sysex, null ) ;
}
return;
}
/**
* Locates the object mentioned in the locate requests, and returns
* object here iff the object is the initial object key. A SystemException
* thrown if the object key is not the initial object key.
*/
public IOR locate( ObjectKey objectKey) {
return null;
}
/**
* Not implemented
*/
public int getId() {
throw wrapper.genericNoImpl() ;
}
}
⏎ com/sun/corba/se/impl/protocol/BootstrapServerRequestDispatcher.java
Or download all of them as a single archive file:
File name: jre-rt-com-1.8.0_191-src.zip File size: 8099783 bytes Release date: 2018-10-28 Download
⇒ Backup JDK 8 Installation Directory
2023-02-07, ≈638🔥, 3💬
Popular Posts:
How to display types defined in an XML Schema file with the xs\QueryXS.java provided in the Apache X...
JDK 11 jdk.scripting.nashorn.jm odis the JMOD file for JDK 11 Scripting Nashorn module. JDK 11 Scrip...
Where to get the Java source code for Connector/J 8.0 Core Impl module? Java source code files for C...
How to download and install iText7-Core-7.1.4.zip? iText7-Core-7.1.4.zip is the binary package of iT...
JDK 11 jdk.httpserver.jmod is the JMOD file for JDK 11 HTTP Server module. JDK 11 HTTP Server module...