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/transport/CorbaTransportManagerImpl.java
/* * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.corba.se.impl.transport; import java.net.ServerSocket; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import org.omg.CORBA.INITIALIZE; import org.omg.CORBA.INTERNAL; import org.omg.CORBA.CompletionStatus; import com.sun.corba.se.pept.transport.Acceptor; import com.sun.corba.se.pept.transport.ConnectionCache; import com.sun.corba.se.pept.transport.ByteBufferPool; import com.sun.corba.se.pept.transport.ContactInfo; import com.sun.corba.se.pept.transport.InboundConnectionCache; import com.sun.corba.se.pept.transport.OutboundConnectionCache; import com.sun.corba.se.pept.transport.Selector; import com.sun.corba.se.spi.ior.IORTemplate; import com.sun.corba.se.spi.ior.ObjectAdapterId; import com.sun.corba.se.spi.orb.ORB; import com.sun.corba.se.spi.transport.CorbaAcceptor; import com.sun.corba.se.spi.transport.CorbaTransportManager; import com.sun.corba.se.pept.transport.Connection; import com.sun.corba.se.pept.transport.ConnectionCache; // REVISIT - impl/poa specific: import com.sun.corba.se.impl.oa.poa.Policies; import com.sun.corba.se.impl.orbutil.ORBUtility; /** * @author Harold Carr */ public class CorbaTransportManagerImpl implements CorbaTransportManager { protected ORB orb; protected List acceptors; protected Map outboundConnectionCaches; protected Map inboundConnectionCaches; protected Selector selector; public CorbaTransportManagerImpl(ORB orb) { this.orb = orb; acceptors = new ArrayList(); outboundConnectionCaches = new HashMap(); inboundConnectionCaches = new HashMap(); selector = new SelectorImpl(orb); } //////////////////////////////////////////////////// // // pept TransportManager // public ByteBufferPool getByteBufferPool(int id) { throw new RuntimeException(); } public OutboundConnectionCache getOutboundConnectionCache( ContactInfo contactInfo) { synchronized (contactInfo) { if (contactInfo.getConnectionCache() == null) { OutboundConnectionCache connectionCache = null; synchronized (outboundConnectionCaches) { connectionCache = (OutboundConnectionCache) outboundConnectionCaches.get( contactInfo.getConnectionCacheType()); if (connectionCache == null) { // REVISIT: Would like to be able to configure // the connection cache type used. connectionCache = new CorbaOutboundConnectionCacheImpl(orb, contactInfo); outboundConnectionCaches.put( contactInfo.getConnectionCacheType(), connectionCache); } } contactInfo.setConnectionCache(connectionCache); } return contactInfo.getConnectionCache(); } } public Collection getOutboundConnectionCaches() { return outboundConnectionCaches.values(); } public InboundConnectionCache getInboundConnectionCache( Acceptor acceptor) { synchronized (acceptor) { if (acceptor.getConnectionCache() == null) { InboundConnectionCache connectionCache = null; synchronized (inboundConnectionCaches) { connectionCache = (InboundConnectionCache) inboundConnectionCaches.get( acceptor.getConnectionCacheType()); if (connectionCache == null) { // REVISIT: Would like to be able to configure // the connection cache type used. connectionCache = new CorbaInboundConnectionCacheImpl(orb, acceptor); inboundConnectionCaches.put( acceptor.getConnectionCacheType(), connectionCache); } } acceptor.setConnectionCache(connectionCache); } return acceptor.getConnectionCache(); } } public Collection getInboundConnectionCaches() { return inboundConnectionCaches.values(); } public Selector getSelector(int id) { return selector; } public synchronized void registerAcceptor(Acceptor acceptor) { if (orb.transportDebugFlag) { dprint(".registerAcceptor->: " + acceptor); } acceptors.add(acceptor); if (orb.transportDebugFlag) { dprint(".registerAcceptor<-: " + acceptor); } } public Collection getAcceptors() { return getAcceptors(null, null); } public synchronized void unregisterAcceptor(Acceptor acceptor) { acceptors.remove(acceptor); } public void close() { try { if (orb.transportDebugFlag) { dprint(".close->"); } for (Object cc : outboundConnectionCaches.values()) { ((ConnectionCache)cc).close() ; } for (Object icc : inboundConnectionCaches.values()) { ((ConnectionCache)icc).close() ; unregisterAcceptor(((InboundConnectionCache)icc).getAcceptor()); } getSelector(0).close(); } finally { if (orb.transportDebugFlag) { dprint(".close<-"); } } } //////////////////////////////////////////////////// // // CorbaTransportManager // public Collection getAcceptors(String objectAdapterManagerId, ObjectAdapterId objectAdapterId) { // REVISIT - need to filter based on arguments. // REVISIT - initialization will be moved to OA. // Lazy initialization of acceptors. Iterator iterator = acceptors.iterator(); while (iterator.hasNext()) { Acceptor acceptor = (Acceptor) iterator.next(); if (acceptor.initialize()) { if (acceptor.shouldRegisterAcceptEvent()) { orb.getTransportManager().getSelector(0) .registerForEvent(acceptor.getEventHandler()); } } } return acceptors; } // REVISIT - POA specific policies public void addToIORTemplate(IORTemplate iorTemplate, Policies policies, String codebase, String objectAdapterManagerId, ObjectAdapterId objectAdapterId) { Iterator iterator = getAcceptors(objectAdapterManagerId, objectAdapterId).iterator(); while (iterator.hasNext()) { CorbaAcceptor acceptor = (CorbaAcceptor) iterator.next(); acceptor.addToIORTemplate(iorTemplate, policies, codebase); } } //////////////////////////////////////////////////// // // implemenation // protected void dprint(String msg) { ORBUtility.dprint("CorbaTransportManagerImpl", msg); } } // End of file.
⏎ com/sun/corba/se/impl/transport/CorbaTransportManagerImpl.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, 309436👍, 3💬
Popular Posts:
SLF4J API is a simple API that allows to plug in any desired logging library at deployment time. Her...
JRE 8 plugin.jar is the JAR file for JRE 8 Java Control Panel Plugin interface and tools. JRE (Java ...
How to read XML document with DTD validation from socket connections with the socket\DelayedInput.ja.. .
Apache Commons Codec library provides implementations of common encoders and decoders such as Base64...
JDK 11 java.desktop.jmod is the JMOD file for JDK 11 Desktop module. JDK 11 Desktop module compiled ...