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/spi/extension/ServantCachingPolicy.java
/* * Copyright (c) 2001, 2003, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.corba.se.spi.extension ; import org.omg.CORBA.Policy ; import org.omg.CORBA.LocalObject ; import com.sun.corba.se.impl.orbutil.ORBConstants ; /** Policy used to implement servant caching optimization in the POA. * Creating a POA with an instance pol of this policy where * pol.getType() > NO_SERVANT_CACHING will cause the servant to be * looked up in the POA and cached in the LocalClientRequestDispatcher when * the ClientRequestDispatcher is colocated with the implementation of the * objref. This greatly speeds up invocations at the cost of violating the * POA semantics. In particular, every request to a particular objref * must be handled by the same servant. Note that this is typically the * case for EJB implementations. * <p> * If servant caching is used, there are two different additional * features of the POA that are expensive: * <ol> * <li>POA current semantics * <li>Proper handling of POA destroy. * <ol> * POA current semantics requires maintaining a ThreadLocal stack of * invocation information that is always available for POACurrent operations. * Maintaining this stack is expensive on the timescale of optimized co-located * calls, so the option is provided to turn it off. Similarly, causing * POA.destroy() calls to wait for all active calls in the POA to complete * requires careful tracking of the entry and exit of invocations in the POA. * Again, tracking this is somewhat expensive. */ public class ServantCachingPolicy extends LocalObject implements Policy { /** Do not cache servants in the ClientRequestDispatcher. This will * always support the full POA semantics, including changing the * servant that handles requests on a particular objref. */ public static final int NO_SERVANT_CACHING = 0 ; /** Perform servant caching, preserving POA current and POA destroy semantics. * We will use this as the new default, as the app server is making heavier use * now of POA facilities. */ public static final int FULL_SEMANTICS = 1 ; /** Perform servant caching, preservent only POA current semantics. * At least this level is required in order to support selection of ObjectCopiers * for co-located RMI-IIOP calls, as the current copier is stored in * OAInvocationInfo, which must be present on the stack inside the call. */ public static final int INFO_ONLY_SEMANTICS = 2 ; /** Perform servant caching, not preserving POA current or POA destroy semantics. */ public static final int MINIMAL_SEMANTICS = 3 ; private static ServantCachingPolicy policy = null ; private static ServantCachingPolicy infoOnlyPolicy = null ; private static ServantCachingPolicy minimalPolicy = null ; private int type ; public String typeToName() { switch (type) { case FULL_SEMANTICS: return "FULL" ; case INFO_ONLY_SEMANTICS: return "INFO_ONLY" ; case MINIMAL_SEMANTICS: return "MINIMAL" ; default: return "UNKNOWN(" + type + ")" ; } } public String toString() { return "ServantCachingPolicy[" + typeToName() + "]" ; } private ServantCachingPolicy( int type ) { this.type = type ; } public int getType() { return type ; } /** Return the default servant caching policy. */ public synchronized static ServantCachingPolicy getPolicy() { return getFullPolicy() ; } public synchronized static ServantCachingPolicy getFullPolicy() { if (policy == null) policy = new ServantCachingPolicy( FULL_SEMANTICS ) ; return policy ; } public synchronized static ServantCachingPolicy getInfoOnlyPolicy() { if (infoOnlyPolicy == null) infoOnlyPolicy = new ServantCachingPolicy( INFO_ONLY_SEMANTICS ) ; return infoOnlyPolicy ; } public synchronized static ServantCachingPolicy getMinimalPolicy() { if (minimalPolicy == null) minimalPolicy = new ServantCachingPolicy( MINIMAL_SEMANTICS ) ; return minimalPolicy ; } public int policy_type () { return ORBConstants.SERVANT_CACHING_POLICY ; } public org.omg.CORBA.Policy copy () { return this ; } public void destroy () { // NO-OP } }
⏎ com/sun/corba/se/spi/extension/ServantCachingPolicy.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, 251299👍, 3💬
Popular Posts:
Apache Ant Source Code Files are inside the Apache Ant source package file like apache-ant-1.10.10-s...
maven-core-3.5.4.jar is the JAR file for Apache Maven 3.5.4 Core module. Apache Maven is a software ...
JAX-WS is an API for building web services and clients. It is the next generation Web Services API r...
The JSR 105 XML Digital Signature 1.0.1 FCS implementation provides an API and implementation that a...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...