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 - javax.* 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 javax.* package in JRE 1.8.0_191 rt.jar. Java source codes are also provided.
✍: FYIcenter
⏎ javax/naming/spi/ContinuationContext.java
/*
* Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package javax.naming.spi;
import java.util.Hashtable;
import javax.naming.*;
/**
* This class is for dealing with federations/continuations.
*
* @author Rosanna Lee
* @author Scott Seligman
* @since 1.3
*/
class ContinuationContext implements Context, Resolver {
protected CannotProceedException cpe;
protected Hashtable<?,?> env;
protected Context contCtx = null;
protected ContinuationContext(CannotProceedException cpe,
Hashtable<?,?> env) {
this.cpe = cpe;
this.env = env;
}
protected Context getTargetContext() throws NamingException {
if (contCtx == null) {
if (cpe.getResolvedObj() == null)
throw (NamingException)cpe.fillInStackTrace();
contCtx = NamingManager.getContext(cpe.getResolvedObj(),
cpe.getAltName(),
cpe.getAltNameCtx(),
env);
if (contCtx == null)
throw (NamingException)cpe.fillInStackTrace();
}
return contCtx;
}
public Object lookup(Name name) throws NamingException {
Context ctx = getTargetContext();
return ctx.lookup(name);
}
public Object lookup(String name) throws NamingException {
Context ctx = getTargetContext();
return ctx.lookup(name);
}
public void bind(Name name, Object newObj) throws NamingException {
Context ctx = getTargetContext();
ctx.bind(name, newObj);
}
public void bind(String name, Object newObj) throws NamingException {
Context ctx = getTargetContext();
ctx.bind(name, newObj);
}
public void rebind(Name name, Object newObj) throws NamingException {
Context ctx = getTargetContext();
ctx.rebind(name, newObj);
}
public void rebind(String name, Object newObj) throws NamingException {
Context ctx = getTargetContext();
ctx.rebind(name, newObj);
}
public void unbind(Name name) throws NamingException {
Context ctx = getTargetContext();
ctx.unbind(name);
}
public void unbind(String name) throws NamingException {
Context ctx = getTargetContext();
ctx.unbind(name);
}
public void rename(Name name, Name newName) throws NamingException {
Context ctx = getTargetContext();
ctx.rename(name, newName);
}
public void rename(String name, String newName) throws NamingException {
Context ctx = getTargetContext();
ctx.rename(name, newName);
}
public NamingEnumeration<NameClassPair> list(Name name) throws NamingException {
Context ctx = getTargetContext();
return ctx.list(name);
}
public NamingEnumeration<NameClassPair> list(String name) throws NamingException {
Context ctx = getTargetContext();
return ctx.list(name);
}
public NamingEnumeration<Binding> listBindings(Name name)
throws NamingException
{
Context ctx = getTargetContext();
return ctx.listBindings(name);
}
public NamingEnumeration<Binding> listBindings(String name) throws NamingException {
Context ctx = getTargetContext();
return ctx.listBindings(name);
}
public void destroySubcontext(Name name) throws NamingException {
Context ctx = getTargetContext();
ctx.destroySubcontext(name);
}
public void destroySubcontext(String name) throws NamingException {
Context ctx = getTargetContext();
ctx.destroySubcontext(name);
}
public Context createSubcontext(Name name) throws NamingException {
Context ctx = getTargetContext();
return ctx.createSubcontext(name);
}
public Context createSubcontext(String name) throws NamingException {
Context ctx = getTargetContext();
return ctx.createSubcontext(name);
}
public Object lookupLink(Name name) throws NamingException {
Context ctx = getTargetContext();
return ctx.lookupLink(name);
}
public Object lookupLink(String name) throws NamingException {
Context ctx = getTargetContext();
return ctx.lookupLink(name);
}
public NameParser getNameParser(Name name) throws NamingException {
Context ctx = getTargetContext();
return ctx.getNameParser(name);
}
public NameParser getNameParser(String name) throws NamingException {
Context ctx = getTargetContext();
return ctx.getNameParser(name);
}
public Name composeName(Name name, Name prefix)
throws NamingException
{
Context ctx = getTargetContext();
return ctx.composeName(name, prefix);
}
public String composeName(String name, String prefix)
throws NamingException {
Context ctx = getTargetContext();
return ctx.composeName(name, prefix);
}
public Object addToEnvironment(String propName, Object value)
throws NamingException {
Context ctx = getTargetContext();
return ctx.addToEnvironment(propName, value);
}
public Object removeFromEnvironment(String propName)
throws NamingException {
Context ctx = getTargetContext();
return ctx.removeFromEnvironment(propName);
}
public Hashtable<?,?> getEnvironment() throws NamingException {
Context ctx = getTargetContext();
return ctx.getEnvironment();
}
public String getNameInNamespace() throws NamingException {
Context ctx = getTargetContext();
return ctx.getNameInNamespace();
}
public ResolveResult
resolveToClass(Name name, Class<? extends Context> contextType)
throws NamingException
{
if (cpe.getResolvedObj() == null)
throw (NamingException)cpe.fillInStackTrace();
Resolver res = NamingManager.getResolver(cpe.getResolvedObj(),
cpe.getAltName(),
cpe.getAltNameCtx(),
env);
if (res == null)
throw (NamingException)cpe.fillInStackTrace();
return res.resolveToClass(name, contextType);
}
public ResolveResult
resolveToClass(String name, Class<? extends Context> contextType)
throws NamingException
{
if (cpe.getResolvedObj() == null)
throw (NamingException)cpe.fillInStackTrace();
Resolver res = NamingManager.getResolver(cpe.getResolvedObj(),
cpe.getAltName(),
cpe.getAltNameCtx(),
env);
if (res == null)
throw (NamingException)cpe.fillInStackTrace();
return res.resolveToClass(name, contextType);
}
public void close() throws NamingException {
cpe = null;
env = null;
if (contCtx != null) {
contCtx.close();
contCtx = null;
}
}
}
⏎ javax/naming/spi/ContinuationContext.java
Or download all of them as a single archive file:
File name: jre-rt-javax-1.8.0_191-src.zip File size: 5381005 bytes Release date: 2018-10-28 Download
⇒ JRE 8 rt.jar - org.* Package Source Code
2024-07-16, ≈424🔥, 7💬
Popular Posts:
JDK 8 tools.jar is the JAR file for JDK 8 tools. It contains Java classes to support different JDK t...
What is jxl.jar 2.6.12? jxl.jar 2.6.12 is the JAR file for Java Excel API 2.6.12, which is a Java li...
Guava is a suite of core and expanded libraries that include utility classes, google's collections, ...
How to download and install mysql-connector-j-8.0.31 .zip?Connector/J Java library is a JDBC Driver ...
JDK 11 jdk.jdi.jmod is the JMOD file for JDK 11 JDI (Java Debug Interface) tool. JDK 11 JDI tool com...