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/oa/poa/POAFactory.java
/* * Copyright (c) 2002, 2009, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.corba.se.impl.oa.poa ; import java.util.Set ; import java.util.HashSet ; import java.util.Collections ; import java.util.Iterator ; import java.util.Map ; import java.util.WeakHashMap ; import org.omg.CORBA.OBJECT_NOT_EXIST ; import org.omg.CORBA.TRANSIENT ; import org.omg.CORBA.ORBPackage.InvalidName ; import org.omg.PortableServer.Servant ; import org.omg.PortableServer.POA ; import org.omg.PortableServer.POAManager ; import com.sun.corba.se.spi.oa.ObjectAdapter ; import com.sun.corba.se.spi.oa.ObjectAdapterFactory ; import com.sun.corba.se.spi.ior.ObjectAdapterId ; import com.sun.corba.se.spi.orb.ORB ; import com.sun.corba.se.spi.orbutil.closure.Closure ; import com.sun.corba.se.spi.orbutil.closure.ClosureFactory ; import com.sun.corba.se.spi.protocol.PIHandler ; import com.sun.corba.se.spi.logging.CORBALogDomains ; import com.sun.corba.se.impl.logging.POASystemException ; import com.sun.corba.se.impl.logging.OMGSystemException ; import com.sun.corba.se.impl.orbutil.ORBConstants ; import com.sun.corba.se.impl.oa.poa.POAManagerImpl ; public class POAFactory implements ObjectAdapterFactory { // Maps servants to POAs for deactivating servants when unexportObject is called. // Maintained by POAs activate_object and deactivate_object. private Map exportedServantsToPOA = new WeakHashMap(); private Set poaManagers ; private int poaManagerId ; private int poaId ; private POAImpl rootPOA ; private DelegateImpl delegateImpl; private ORB orb ; private POASystemException wrapper ; private OMGSystemException omgWrapper ; private boolean isShuttingDown = false; public POASystemException getWrapper() { return wrapper ; } /** All object adapter factories must have a no-arg constructor. */ public POAFactory() { poaManagers = Collections.synchronizedSet(new HashSet(4)); poaManagerId = 0 ; poaId = 0 ; rootPOA = null ; delegateImpl = null ; orb = null ; } public synchronized POA lookupPOA (Servant servant) { return (POA)exportedServantsToPOA.get(servant); } public synchronized void registerPOAForServant(POA poa, Servant servant) { exportedServantsToPOA.put(servant, poa); } public synchronized void unregisterPOAForServant(POA poa, Servant servant) { exportedServantsToPOA.remove(servant); } // Implementation of ObjectAdapterFactory interface public void init( ORB orb ) { this.orb = orb ; wrapper = POASystemException.get( orb, CORBALogDomains.OA_LIFECYCLE ) ; omgWrapper = OMGSystemException.get( orb, CORBALogDomains.OA_LIFECYCLE ) ; delegateImpl = new DelegateImpl( orb, this ) ; registerRootPOA() ; POACurrent poaCurrent = new POACurrent(orb); orb.getLocalResolver().register( ORBConstants.POA_CURRENT_NAME, ClosureFactory.makeConstant( poaCurrent ) ) ; } public ObjectAdapter find( ObjectAdapterId oaid ) { POA poa=null; try { boolean first = true ; Iterator iter = oaid.iterator() ; poa = getRootPOA(); while (iter.hasNext()) { String name = (String)(iter.next()) ; if (first) { if (!name.equals( ORBConstants.ROOT_POA_NAME )) throw wrapper.makeFactoryNotPoa( name ) ; first = false ; } else { poa = poa.find_POA( name, true ) ; } } } catch ( org.omg.PortableServer.POAPackage.AdapterNonExistent ex ){ throw omgWrapper.noObjectAdaptor( ex ) ; } catch ( OBJECT_NOT_EXIST ex ) { throw ex; } catch ( TRANSIENT ex ) { throw ex; } catch ( Exception ex ) { throw wrapper.poaLookupError( ex ) ; } if ( poa == null ) throw wrapper.poaLookupError() ; return (ObjectAdapter)poa; } public void shutdown( boolean waitForCompletion ) { // It is important to copy the list of POAManagers first because // pm.deactivate removes itself from poaManagers! Iterator managers = null ; synchronized (this) { isShuttingDown = true ; managers = (new HashSet(poaManagers)).iterator(); } while ( managers.hasNext() ) { try { ((POAManager)managers.next()).deactivate(true, waitForCompletion); } catch ( org.omg.PortableServer.POAManagerPackage.AdapterInactive e ) {} } } // Special methods used to manipulate global POA related state public synchronized void removePoaManager( POAManager manager ) { poaManagers.remove(manager); } public synchronized void addPoaManager( POAManager manager ) { poaManagers.add(manager); } synchronized public int newPOAManagerId() { return poaManagerId++ ; } public void registerRootPOA() { // We delay the evaluation of makeRootPOA until // a call to resolve_initial_references( "RootPOA" ). // The Future guarantees that makeRootPOA is only called once. Closure rpClosure = new Closure() { public Object evaluate() { return POAImpl.makeRootPOA( orb ) ; } } ; orb.getLocalResolver().register( ORBConstants.ROOT_POA_NAME, ClosureFactory.makeFuture( rpClosure ) ) ; } public synchronized POA getRootPOA() { if (rootPOA == null) { // See if we are trying to getRootPOA while shutting down the ORB. if (isShuttingDown) { throw omgWrapper.noObjectAdaptor( ) ; } try { Object obj = orb.resolve_initial_references( ORBConstants.ROOT_POA_NAME ) ; rootPOA = (POAImpl)obj ; } catch (InvalidName inv) { throw wrapper.cantResolveRootPoa( inv ) ; } } return rootPOA; } public org.omg.PortableServer.portable.Delegate getDelegateImpl() { return delegateImpl ; } synchronized public int newPOAId() { return poaId++ ; } public ORB getORB() { return orb ; } }
⏎ com/sun/corba/se/impl/oa/poa/POAFactory.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, 313268👍, 3💬
Popular Posts:
JDK 11 jdk.hotspot.agent.jmod is the JMOD file for JDK 11 Hotspot Agent module. JDK 11 Hotspot Agent...
Commons VFS provides a single API for accessing various different file systems. It presents a unifor...
What Is log4j-1.2.15.jar? I got the JAR file from apache-log4j-1.2.15.zip. log4j-1.2.15.jar is the v...
JDK 11 jdk.dynalink.jmod is the JMOD file for JDK 11 Dynamic Linking module. JDK 11 Dynamic Linking ...
The JMX technology provides the tools for building distributed, Web-based, modular and dynamic solut...