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 jdk.management.jmod - Management Module
JDK 11 jdk.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\jdk.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\jdk.management.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/management/internal/VMOptionCompositeData.java
/*
* Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package com.sun.management.internal;
import com.sun.management.VMOption;
import com.sun.management.VMOption.Origin;
import javax.management.openmbean.CompositeType;
import javax.management.openmbean.CompositeData;
import javax.management.openmbean.CompositeDataSupport;
import javax.management.openmbean.OpenDataException;
import sun.management.LazyCompositeData;
import sun.management.MappedMXBeanType;
/**
* A CompositeData for VMOption for the local management support.
* This class avoids the performance penalty paid to the
* construction of a CompositeData use in the local case.
*/
public class VMOptionCompositeData extends LazyCompositeData {
private final VMOption option;
private VMOptionCompositeData(VMOption option) {
this.option = option;
}
public VMOption getVMOption() {
return option;
}
public static CompositeData toCompositeData(VMOption option) {
VMOptionCompositeData vcd = new VMOptionCompositeData(option);
return vcd.getCompositeData();
}
protected CompositeData getCompositeData() {
// CONTENTS OF THIS ARRAY MUST BE SYNCHRONIZED WITH
// vmOptionItemNames!
final Object[] vmOptionItemValues = {
option.getName(),
option.getValue(),
option.isWriteable(),
option.getOrigin().toString(),
};
try {
return new CompositeDataSupport(vmOptionCompositeType,
vmOptionItemNames,
vmOptionItemValues);
} catch (OpenDataException e) {
// Should never reach here
throw new AssertionError(e);
}
}
private static final CompositeType vmOptionCompositeType;
static {
try {
vmOptionCompositeType = (CompositeType)
MappedMXBeanType.toOpenType(VMOption.class);
} catch (OpenDataException e) {
// Should never reach here
throw new AssertionError(e);
}
}
static CompositeType getVMOptionCompositeType() {
return vmOptionCompositeType;
}
private static final String NAME = "name";
private static final String VALUE = "value";
private static final String WRITEABLE = "writeable";
private static final String ORIGIN = "origin";
private static final String[] vmOptionItemNames = {
NAME,
VALUE,
WRITEABLE,
ORIGIN,
};
public static String getName(CompositeData cd) {
return getString(cd, NAME);
}
public static String getValue(CompositeData cd) {
return getString(cd, VALUE);
}
public static Origin getOrigin(CompositeData cd) {
String o = getString(cd, ORIGIN);
return Enum.valueOf(Origin.class, o);
}
public static boolean isWriteable(CompositeData cd) {
return getBoolean(cd, WRITEABLE);
}
/** Validate if the input CompositeData has the expected
* CompositeType (i.e. contain all attributes with expected
* names and types).
*/
public static void validateCompositeData(CompositeData cd) {
if (cd == null) {
throw new NullPointerException("Null CompositeData");
}
if (!isTypeMatched(vmOptionCompositeType, cd.getCompositeType())) {
throw new IllegalArgumentException(
"Unexpected composite type for VMOption");
}
}
private static final long serialVersionUID = -2395573975093578470L;
}
⏎ com/sun/management/internal/VMOptionCompositeData.java
Or download all of them as a single archive file:
File name: jdk.management-11.0.1-src.zip File size: 38186 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.management.agent.jmod - Management Agent Module
2020-06-21, ≈18🔥, 0💬
Popular Posts:
JDK 11 jdk.crypto.mscapi.jmod is the JMOD file for JDK 11 Crypto MSCAPI module. JDK 11 Crypto MSCAPI...
JDK 17 jdk.jdi.jmod is the JMOD file for JDK 17 JDI (Java Debug Interface) tool. JDK 17 JDI tool com...
JDK 11 jdk.javadoc.jmod is the JMOD file for JDK 11 Java Document tool, which can be invoked by the ...
What is the sax\Writer.java provided in the Apache Xerces package? I have Apache Xerces 2.11.0 insta...
What Is jaxb-api-2.1.6.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Java ...