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 - 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/DirObjectFactory.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.spi; import java.util.Hashtable; import javax.naming.*; import javax.naming.directory.Attributes; /** * This interface represents a factory for creating an object given * an object and attributes about the object. *<p> * The JNDI framework allows for object implementations to * be loaded in dynamically via <em>object factories</em>. See * <tt>ObjectFactory</tt> for details. * <p> * A <tt>DirObjectFactory</tt> extends <tt>ObjectFactory</tt> by allowing * an <tt>Attributes</tt> instance * to be supplied to the <tt>getObjectInstance()</tt> method. * <tt>DirObjectFactory</tt> implementations are intended to be used by <tt>DirContext</tt> * service providers. The service provider, in addition reading an * object from the directory, might already have attributes that * are useful for the object factory to check to see whether the * factory is supposed to process the object. For instance, an LDAP-style * service provider might have read the "objectclass" of the object. * A CORBA object factory might be interested only in LDAP entries * with "objectclass=corbaObject". By using the attributes supplied by * the LDAP service provider, the CORBA object factory can quickly * eliminate objects that it need not worry about, and non-CORBA object * factories can quickly eliminate CORBA-related LDAP entries. * * @author Rosanna Lee * @author Scott Seligman * * @see NamingManager#getObjectInstance * @see DirectoryManager#getObjectInstance * @see ObjectFactory * @since 1.3 */ public interface DirObjectFactory extends ObjectFactory { /** * Creates an object using the location or reference information, and attributes * specified. * <p> * Special requirements of this object are supplied * using <code>environment</code>. * An example of such an environment property is user identity * information. *<p> * <tt>DirectoryManager.getObjectInstance()</tt> * successively loads in object factories. If it encounters a <tt>DirObjectFactory</tt>, * it will invoke <tt>DirObjectFactory.getObjectInstance()</tt>; * otherwise, it invokes * <tt>ObjectFactory.getObjectInstance()</tt>. It does this until a factory * produces a non-null answer. * <p> When an exception * is thrown by an object factory, the exception is passed on to the caller * of <tt>DirectoryManager.getObjectInstance()</tt>. The search for other factories * that may produce a non-null answer is halted. * An object factory should only throw an exception if it is sure that * it is the only intended factory and that no other object factories * should be tried. * If this factory cannot create an object using the arguments supplied, * it should return null. *<p>Since <tt>DirObjectFactory</tt> extends <tt>ObjectFactory</tt>, it * effectively * has two <tt>getObjectInstance()</tt> methods, where one differs from the other by * the attributes argument. Given a factory that implements <tt>DirObjectFactory</tt>, * <tt>DirectoryManager.getObjectInstance()</tt> will only * use the method that accepts the attributes argument, while * <tt>NamingManager.getObjectInstance()</tt> will only use the one that does not accept * the attributes argument. *<p> * See <tt>ObjectFactory</tt> for a description URL context factories and other * properties of object factories that apply equally to <tt>DirObjectFactory</tt>. *<p> * The <tt>name</tt>, <tt>attrs</tt>, and <tt>environment</tt> parameters * are owned by the caller. * The implementation will not modify these objects or keep references * to them, although it may keep references to clones or copies. * * @param obj The possibly null object containing location or reference * information that can be used in creating an object. * @param name The name of this object relative to <code>nameCtx</code>, * or null if no name is specified. * @param nameCtx The context relative to which the <code>name</code> * parameter is specified, or null if <code>name</code> is * relative to the default initial context. * @param environment The possibly null environment that is used in * creating the object. * @param attrs The possibly null attributes containing some of <tt>obj</tt>'s * attributes. <tt>attrs</tt> might not necessarily have all of <tt>obj</tt>'s * attributes. If the object factory requires more attributes, it needs * to get it, either using <tt>obj</tt>, or <tt>name</tt> and <tt>nameCtx</tt>. * The factory must not modify attrs. * @return The object created; null if an object cannot be created. * @exception Exception If this object factory encountered an exception * while attempting to create an object, and no other object factories are * to be tried. * * @see DirectoryManager#getObjectInstance * @see NamingManager#getURLContext */ public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment, Attributes attrs) throws Exception; }
⏎ javax/naming/spi/DirObjectFactory.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
2023-02-07, 190869👍, 5💬
Popular Posts:
kernel.jar is a component in iText Java library to provide low-level functionalities. iText Java lib...
Rhino JavaScript Java Library is an open-source implementation of JavaScript written entirely in Jav...
Apache Axis2 is the core engine for Web services. It is a complete re-design and re-write of the wid...
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...
What Is commons-fileupload-1.3.3 .jar?commons-fileupload-1.3.3 .jaris the JAR file for Apache Common...