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:
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/RequestDispatcherRegistryImpl.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.Set; import java.util.HashSet; import java.util.Map; import java.util.HashMap; import java.util.Collections; import com.sun.corba.se.pept.protocol.ClientRequestDispatcher ; import com.sun.corba.se.spi.protocol.LocalClientRequestDispatcher ; import com.sun.corba.se.spi.protocol.LocalClientRequestDispatcherFactory ; import com.sun.corba.se.spi.protocol.CorbaServerRequestDispatcher ; import com.sun.corba.se.spi.protocol.RequestDispatcherRegistry ; import com.sun.corba.se.spi.oa.ObjectAdapterFactory ; import com.sun.corba.se.spi.orb.ORB ; import com.sun.corba.se.impl.orbutil.ORBConstants ; import com.sun.corba.se.impl.orbutil.DenseIntMapImpl ; /** * This is a registry of all subcontract ID dependent objects. This includes: * LocalClientRequestDispatcherFactory, ClientRequestDispatcher, ServerSubcontract, and * ObjectAdapterFactory. */ public class RequestDispatcherRegistryImpl implements RequestDispatcherRegistry { private ORB orb; protected int defaultId; // The default subcontract ID to use if // there is no more specific ID available. // This happens when invoking a foreign IOR. private DenseIntMapImpl SDRegistry ; // ServerRequestDispatcher registry private DenseIntMapImpl CSRegistry ; // ClientRequestDispatcher registry private DenseIntMapImpl OAFRegistry ; // ObjectAdapterFactory registry private DenseIntMapImpl LCSFRegistry ; // LocalClientRequestDispatcherFactory registry private Set objectAdapterFactories ; // Set of all ObjectAdapterFactory instances private Set objectAdapterFactoriesView ; // Read-only view of oaf instances private Map stringToServerSubcontract ; // Map from obect key string to // ServerSubcontract // for special bootstrap IORs public RequestDispatcherRegistryImpl(ORB orb, int defaultId ) { this.orb = orb; this.defaultId = defaultId; SDRegistry = new DenseIntMapImpl() ; CSRegistry = new DenseIntMapImpl() ; OAFRegistry = new DenseIntMapImpl() ; LCSFRegistry = new DenseIntMapImpl() ; objectAdapterFactories = new HashSet() ; objectAdapterFactoriesView = Collections.unmodifiableSet( objectAdapterFactories ) ; stringToServerSubcontract = new HashMap() ; } public synchronized void registerClientRequestDispatcher( ClientRequestDispatcher csc, int scid) { CSRegistry.set( scid, csc ) ; } public synchronized void registerLocalClientRequestDispatcherFactory( LocalClientRequestDispatcherFactory csc, int scid) { LCSFRegistry.set( scid, csc ) ; } public synchronized void registerServerRequestDispatcher( CorbaServerRequestDispatcher ssc, int scid) { SDRegistry.set( scid, ssc ) ; } public synchronized void registerServerRequestDispatcher( CorbaServerRequestDispatcher scc, String name ) { stringToServerSubcontract.put( name, scc ) ; } public synchronized void registerObjectAdapterFactory( ObjectAdapterFactory oaf, int scid) { objectAdapterFactories.add( oaf ) ; OAFRegistry.set( scid, oaf ) ; } // ************************************************** // Methods to find the subcontract side subcontract // ************************************************** // Note that both forms of getServerRequestDispatcher need to return // the default server delegate if no other match is found. // This is essential to proper handling of errors for // malformed requests. In particular, a bad MAGIC will // result in a lookup in the named key table (stringToServerSubcontract), // which must return a valid ServerRequestDispatcher. A bad subcontract ID // will similarly need to return the default ServerRequestDispatcher. public CorbaServerRequestDispatcher getServerRequestDispatcher(int scid) { CorbaServerRequestDispatcher sdel = (CorbaServerRequestDispatcher)(SDRegistry.get(scid)) ; if ( sdel == null ) sdel = (CorbaServerRequestDispatcher)(SDRegistry.get(defaultId)) ; return sdel; } public CorbaServerRequestDispatcher getServerRequestDispatcher( String name ) { CorbaServerRequestDispatcher sdel = (CorbaServerRequestDispatcher)stringToServerSubcontract.get( name ) ; if ( sdel == null ) sdel = (CorbaServerRequestDispatcher)(SDRegistry.get(defaultId)) ; return sdel; } public LocalClientRequestDispatcherFactory getLocalClientRequestDispatcherFactory( int scid ) { LocalClientRequestDispatcherFactory factory = (LocalClientRequestDispatcherFactory)(LCSFRegistry.get(scid)) ; if (factory == null) { factory = (LocalClientRequestDispatcherFactory)(LCSFRegistry.get(defaultId)) ; } return factory ; } public ClientRequestDispatcher getClientRequestDispatcher( int scid ) { ClientRequestDispatcher subcontract = (ClientRequestDispatcher)(CSRegistry.get(scid)) ; if (subcontract == null) { subcontract = (ClientRequestDispatcher)(CSRegistry.get(defaultId)) ; } return subcontract ; } public ObjectAdapterFactory getObjectAdapterFactory( int scid ) { ObjectAdapterFactory oaf = (ObjectAdapterFactory)(OAFRegistry.get(scid)) ; if ( oaf == null ) oaf = (ObjectAdapterFactory)(OAFRegistry.get(defaultId)) ; return oaf; } public Set getObjectAdapterFactories() { return objectAdapterFactoriesView ; } }
⏎ com/sun/corba/se/impl/protocol/RequestDispatcherRegistryImpl.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, 309563👍, 3💬
Popular Posts:
How to run "jarsigner" command from JDK tools.jar file? "jarsigner" command allows you to digitally ...
JDK 11 jdk.scripting.nashorn.jm odis the JMOD file for JDK 11 Scripting Nashorn module. JDK 11 Scrip...
Provides support for the runtime platform, core utility methods and the extension registry. JAR File...
xml-commons External Source Code Files are provided in the source package file, xml-commons-external...
ZooKeeper is a centralized service for maintaining configuration information, naming, providing dist...