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:
JDK 11 java.naming.jmod - Naming Module
JDK 11 java.naming.jmod is the JMOD file for JDK 11 Naming module.
JDK 11 Naming module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.naming.jmod.
JDK 11 Naming module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Naming module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.naming.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ javax/naming/LinkRef.java
/* * Copyright (c) 1999, 2004, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.naming; /** * This class represents a Reference whose contents is a name, called the link name, * that is bound to an atomic name in a context. *<p> * The name is a URL, or a name to be resolved relative to the initial * context, or if the first character of the name is ".", the name * is relative to the context in which the link is bound. *<p> * Normal resolution of names in context operations always follow links. * Resolution of the link name itself may cause resolution to pass through * other links. This gives rise to the possibility of a cycle of links whose * resolution could not terminate normally. As a simple means to avoid such * non-terminating resolutions, service providers may define limits on the * number of links that may be involved in any single operation invoked * by the caller. *<p> * A LinkRef contains a single StringRefAddr, whose type is "LinkAddress", * and whose contents is the link name. The class name field of the * Reference is that of this (LinkRef) class. *<p> * LinkRef is bound to a name using the normal Context.bind()/rebind(), and * DirContext.bind()/rebind(). Context.lookupLink() is used to retrieve the link * itself if the terminal atomic name is bound to a link. *<p> * Many naming systems support a native notion of link that may be used * within the naming system itself. JNDI does not specify whether * there is any relationship between such native links and JNDI links. *<p> * A LinkRef instance is not synchronized against concurrent access by multiple * threads. Threads that need to access a LinkRef instance concurrently should * synchronize amongst themselves and provide the necessary locking. * * @author Rosanna Lee * @author Scott Seligman * * @see LinkException * @see LinkLoopException * @see MalformedLinkException * @see Context#lookupLink * @since 1.3 */ /*<p> * The serialized form of a LinkRef object consists of the serialized * fields of its Reference superclass. */ public class LinkRef extends Reference { /* code for link handling */ static final String linkClassName = LinkRef.class.getName(); static final String linkAddrType = "LinkAddress"; /** * Constructs a LinkRef for a name. * @param linkName The non-null name for which to create this link. */ public LinkRef(Name linkName) { super(linkClassName, new StringRefAddr(linkAddrType, linkName.toString())); } /** * Constructs a LinkRef for a string name. * @param linkName The non-null name for which to create this link. */ public LinkRef(String linkName) { super(linkClassName, new StringRefAddr(linkAddrType, linkName)); } /** * Retrieves the name of this link. * * @return The non-null name of this link. * @exception MalformedLinkException If a link name could not be extracted * @exception NamingException If a naming exception was encountered. */ public String getLinkName() throws NamingException { if (className != null && className.equals(linkClassName)) { RefAddr addr = get(linkAddrType); if (addr != null && addr instanceof StringRefAddr) { return (String)((StringRefAddr)addr).getContent(); } } throw new MalformedLinkException(); } /** * Use serialVersionUID from JNDI 1.1.1 for interoperability */ private static final long serialVersionUID = -5386290613498931298L; }
⏎ javax/naming/LinkRef.java
Or download all of them as a single archive file:
File name: java.naming-11.0.1-src.zip File size: 461792 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.net.http.jmod - Net HTTP Module
2020-09-30, 58630👍, 0💬
Popular Posts:
This package is the backport of java.util.concurrent API, introduced in Java 5.0 and further refined...
How to display XML element type information with the jaxp\TypeInfoWriter.java provided in the Apache...
JSP(tm) Standard Tag Library 1.0 implementation - Jakarta Taglibs hosts the Standard Taglib 1.0, an ...
JDK 11 jdk.aot.jmod is the JMOD file for JDK 11 Ahead-of-Time (AOT) Compiler module. JDK 11 AOT Comp...
JSP(tm) Standard Tag Library 1.0 implementation - Jakarta Taglibs hosts the Standard Taglib 1.0, an ...