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/legacy/connection/LegacyServerSocketManagerImpl.java
/*
* Copyright (c) 1998, 2003, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package com.sun.corba.se.impl.legacy.connection;
import java.net.ServerSocket;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
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.ByteBufferPool;
import com.sun.corba.se.pept.transport.ContactInfo;
import com.sun.corba.se.pept.transport.Selector;
import com.sun.corba.se.spi.ior.IOR;
import com.sun.corba.se.spi.ior.iiop.IIOPProfile ;
import com.sun.corba.se.spi.ior.ObjectKeyTemplate;
import com.sun.corba.se.spi.ior.ObjectId ;
import com.sun.corba.se.spi.orb.ORB;
import com.sun.corba.se.spi.transport.CorbaTransportManager;
import com.sun.corba.se.spi.legacy.connection.LegacyServerSocketEndPointInfo;
import com.sun.corba.se.spi.legacy.connection.LegacyServerSocketManager;
import com.sun.corba.se.spi.transport.SocketOrChannelAcceptor;
import com.sun.corba.se.spi.logging.CORBALogDomains;
import com.sun.corba.se.impl.encoding.EncapsOutputStream;
import com.sun.corba.se.impl.legacy.connection.SocketFactoryAcceptorImpl;
import com.sun.corba.se.impl.legacy.connection.USLPort;
import com.sun.corba.se.impl.orbutil.ORBUtility;
import com.sun.corba.se.impl.transport.SocketOrChannelAcceptorImpl;
import com.sun.corba.se.impl.logging.ORBUtilSystemException;
public class LegacyServerSocketManagerImpl
implements
LegacyServerSocketManager
{
protected ORB orb;
private ORBUtilSystemException wrapper ;
public LegacyServerSocketManagerImpl(ORB orb)
{
this.orb = orb;
wrapper = ORBUtilSystemException.get( orb,
CORBALogDomains.RPC_TRANSPORT ) ;
}
////////////////////////////////////////////////////
//
// LegacyServerSocketManager
//
// Only used in ServerManagerImpl.
public int legacyGetTransientServerPort(String type)
{
return legacyGetServerPort(type, false);
}
// Only used by POAPolicyMediatorBase.
public synchronized int legacyGetPersistentServerPort(String socketType)
{
if (orb.getORBData().getServerIsORBActivated()) {
// this server is activated by orbd
return legacyGetServerPort(socketType, true);
} else if (orb.getORBData().getPersistentPortInitialized()) {
// this is a user-activated server
return orb.getORBData().getPersistentServerPort();
} else {
throw wrapper.persistentServerportNotSet(
CompletionStatus.COMPLETED_MAYBE);
}
}
// Only used by PI IORInfoImpl.
public synchronized int legacyGetTransientOrPersistentServerPort(
String socketType)
{
return legacyGetServerPort(socketType,
orb.getORBData()
.getServerIsORBActivated());
}
// Used in RepositoryImpl, ServerManagerImpl, POAImpl,
// POAPolicyMediatorBase, TOAImpl.
// To get either default or bootnaming endpoint.
public synchronized LegacyServerSocketEndPointInfo legacyGetEndpoint(
String name)
{
Iterator iterator = getAcceptorIterator();
while (iterator.hasNext()) {
LegacyServerSocketEndPointInfo endPoint = cast(iterator.next());
if (endPoint != null && name.equals(endPoint.getName())) {
return endPoint;
}
}
throw new INTERNAL("No acceptor for: " + name);
}
// Check to see if the given port is equal to any of the ORB Server Ports.
// XXX Does this need to change for the multi-homed case?
// Used in IIOPProfileImpl, ORBImpl.
public boolean legacyIsLocalServerPort(int port)
{
Iterator iterator = getAcceptorIterator();
while (iterator.hasNext()) {
LegacyServerSocketEndPointInfo endPoint = cast(iterator.next());
if (endPoint != null && endPoint.getPort() == port) {
return true;
}
}
return false;
}
////////////////////////////////////////////////////
//
// Implementation.
//
private int legacyGetServerPort (String socketType, boolean isPersistent)
{
Iterator endpoints = getAcceptorIterator();
while (endpoints.hasNext()) {
LegacyServerSocketEndPointInfo ep = cast(endpoints.next());
if (ep != null && ep.getType().equals(socketType)) {
if (isPersistent) {
return ep.getLocatorPort();
} else {
return ep.getPort();
}
}
}
return -1;
}
private Iterator getAcceptorIterator()
{
Collection acceptors =
orb.getCorbaTransportManager().getAcceptors(null, null);
if (acceptors != null) {
return acceptors.iterator();
}
throw wrapper.getServerPortCalledBeforeEndpointsInitialized() ;
}
private LegacyServerSocketEndPointInfo cast(Object o)
{
if (o instanceof LegacyServerSocketEndPointInfo) {
return (LegacyServerSocketEndPointInfo) o;
}
return null;
}
protected void dprint(String msg)
{
ORBUtility.dprint("LegacyServerSocketManagerImpl", msg);
}
}
// End of file.
⏎ com/sun/corba/se/impl/legacy/connection/LegacyServerSocketManagerImpl.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, ≈591🔥, 3💬
Popular Posts:
What Is poi-3.5.jar - Part 2? poi-3.5.jar is one of the JAR files for Apache POI 3.5, which provides...
Java Servlet 3.0 Specification API. JAR File Size and Download Location: File name: servlet-api.jar,...
JDK 17 java.management.jmod is the JMOD file for JDK 17 Management module. JDK 17 Management module ...
How to download and install mysql-connector-j-8.0.31 .zip?Connector/J Java library is a JDBC Driver ...
What Is fop.jar? I got it from the fop-2.7-bin.zip. fop.jar in fop-2.7-bin.zip is the JAR file for F...