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/management/ObjectInstance.java
/* * Copyright (c) 1999, 2004, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.management; // java import import java.io.Serializable; // RI import import javax.management.ObjectName; /** * Used to represent the object name of an MBean and its class name. * If the MBean is a Dynamic MBean the class name should be retrieved from * the <CODE>MBeanInfo</CODE> it provides. * * @since 1.5 */ public class ObjectInstance implements Serializable { /* Serial version */ private static final long serialVersionUID = -4099952623687795850L; /** * @serial Object name. */ private ObjectName name; /** * @serial Class name. */ private String className; /** * Allows an object instance to be created given a string representation of * an object name and the full class name, including the package name. * * @param objectName A string representation of the object name. * @param className The full class name, including the package * name, of the object instance. If the MBean is a Dynamic MBean * the class name corresponds to its {@link * DynamicMBean#getMBeanInfo() * getMBeanInfo()}<code>.getClassName()</code>. * * @exception MalformedObjectNameException The string passed as a * parameter does not have the right format. * */ public ObjectInstance(String objectName, String className) throws MalformedObjectNameException { this(new ObjectName(objectName), className); } /** * Allows an object instance to be created given an object name and * the full class name, including the package name. * * @param objectName The object name. * @param className The full class name, including the package * name, of the object instance. If the MBean is a Dynamic MBean * the class name corresponds to its {@link * DynamicMBean#getMBeanInfo() * getMBeanInfo()}<code>.getClassName()</code>. * If the MBean is a Dynamic MBean the class name should be retrieved * from the <CODE>MBeanInfo</CODE> it provides. * */ public ObjectInstance(ObjectName objectName, String className) { if (objectName.isPattern()) { final IllegalArgumentException iae = new IllegalArgumentException("Invalid name->"+ objectName.toString()); throw new RuntimeOperationsException(iae); } this.name= objectName; this.className= className; } /** * Compares the current object instance with another object instance. * * @param object The object instance that the current object instance is * to be compared with. * * @return True if the two object instances are equal, otherwise false. */ public boolean equals(Object object) { if (!(object instanceof ObjectInstance)) { return false; } ObjectInstance val = (ObjectInstance) object; if (! name.equals(val.getObjectName())) return false; if (className == null) return (val.getClassName() == null); return className.equals(val.getClassName()); } public int hashCode() { final int classHash = ((className==null)?0:className.hashCode()); return name.hashCode() ^ classHash; } /** * Returns the object name part. * * @return the object name. */ public ObjectName getObjectName() { return name; } /** * Returns the class part. * * @return the class name. */ public String getClassName() { return className; } /** * Returns a string representing this ObjectInstance object. The format of this string * is not specified, but users can expect that two ObjectInstances return the same * string if and only if they are equal. */ public String toString() { return getClassName() + "[" + getObjectName() + "]"; } }
⏎ javax/management/ObjectInstance.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, 195795👍, 5💬
Popular Posts:
ASM is an all purpose Java bytecode manipulation and analysis framework. It can be used to modify ex...
Apache Log4j SLF4J Binding allows applications coded to the SLF4J API to use Log4j 2 as the implemen...
What Is mail.jar of JavaMail 1.4.2? I got the JAR file from javamail-1.4.2.zip. mail.jar in javamail...
What Is jaxb-impl-2.1.12.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Jav...
jlGui is a music player for the Java platform. It is based on Java Sound 1.0 (i.e. JDK 1.3+). It sup...