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:
JDK 11 java.management.jmod - Management Module
JDK 11 java.management.jmod is the JMOD file for JDK 11 Management module.
JDK 11 Management module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.management.jmod.
JDK 11 Management module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Management module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.management.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ javax/management/QualifiedAttributeValueExp.java
/*
* Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package javax.management;
/**
* <p>Represents attributes used as arguments to relational constraints,
* where the attribute must be in an MBean of a specified {@linkplain
* MBeanInfo#getClassName() class}. A QualifiedAttributeValueExp may be used
* anywhere a ValueExp is required.
*
* @serial include
*
* @since 1.5
*/
class QualifiedAttributeValueExp extends AttributeValueExp {
/* Serial version */
private static final long serialVersionUID = 8832517277410933254L;
/**
* @serial The attribute class name
*/
private String className;
/**
* Basic Constructor.
* @deprecated see {@link AttributeValueExp#AttributeValueExp()}
*/
@Deprecated
public QualifiedAttributeValueExp() {
}
/**
* Creates a new QualifiedAttributeValueExp representing the specified object
* attribute, named attr with class name className.
*/
public QualifiedAttributeValueExp(String className, String attr) {
super(attr);
this.className = className;
}
/**
* Returns a string representation of the class name of the attribute.
*/
public String getAttrClassName() {
return className;
}
/**
* Applies the QualifiedAttributeValueExp to an MBean.
*
* @param name The name of the MBean on which the QualifiedAttributeValueExp will be applied.
*
* @return The ValueExp.
*
* @exception BadStringOperationException
* @exception BadBinaryOpValueExpException
* @exception BadAttributeValueExpException
* @exception InvalidApplicationException
*/
@Override
public ValueExp apply(ObjectName name) throws BadStringOperationException, BadBinaryOpValueExpException,
BadAttributeValueExpException, InvalidApplicationException {
try {
MBeanServer server = QueryEval.getMBeanServer();
String v = server.getObjectInstance(name).getClassName();
if (v.equals(className)) {
return super.apply(name);
}
throw new InvalidApplicationException("Class name is " + v +
", should be " + className);
} catch (Exception e) {
throw new InvalidApplicationException("Qualified attribute: " + e);
/* Can happen if MBean disappears between the time we
construct the list of MBeans to query and the time we
evaluate the query on this MBean, or if
getObjectInstance throws SecurityException. */
}
}
/**
* Returns the string representing its value
*/
@Override
public String toString() {
if (className != null) {
return className + "." + super.toString();
} else {
return super.toString();
}
}
}
⏎ javax/management/QualifiedAttributeValueExp.java
Or download all of them as a single archive file:
File name: java.management-11.0.1-src.zip File size: 828174 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.management.rmi.jmod - Management RMI Module
2020-04-30, ≈173🔥, 0💬
Popular Posts:
What Is jsse.jar (JDK 6) Java Secure Socket Extension? jsse.jar, Java Secure Socket Extension, is Ja...
JDK 8 jconsole.jar is the JAR file for JDK 8 JConsole, which is a graphical monitoring tool to monit...
How to compare performances of various XML parsers with the jaxp\SourceValidator.jav aprovided in th...
XML Serializer, Release 2.7.1, allows you to write out XML, HTML etc. as a stream of characters from...
JAX-WS is an API for building web services and clients. It is the next generation Web Services API r...