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

com/sun/jmx/remote/util/ClassLogger.java

/*
 * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */

package com.sun.jmx.remote.util;

import java.lang.System.Logger;
import java.lang.System.Logger.Level;
import java.util.ResourceBundle;

public class ClassLogger implements System.Logger {

    private final String className;
    private final Logger logger;

    public ClassLogger(String subsystem, String className) {
        logger = System.getLogger(subsystem);
        this.className = className;
    }

    public final boolean traceOn() {
        return logger.isLoggable(Level.TRACE);
    }

    public final boolean debugOn() {
        return logger.isLoggable(Level.DEBUG);
    }

    public final boolean warningOn() {
        return logger.isLoggable(Level.WARNING);
    }

    public final boolean infoOn() {
        return logger.isLoggable(Level.INFO);
    }

    public final boolean configOn() {
        return logger.isLoggable(Level.DEBUG);
    }

    public final boolean fineOn() {
        return logger.isLoggable(Level.DEBUG);
    }

    public final boolean finerOn() {
        return logger.isLoggable(Level.TRACE);
    }

    public final boolean finestOn() {
        return logger.isLoggable(Level.TRACE);
    }

    public final void debug(String func, String msg) {
        logger.log(Level.DEBUG, msg);
    }

    public final void debug(String func, Throwable t) {
        logger.log(Level.DEBUG, className + "::" + func, t);
    }

    public final void debug(String func, String msg, Throwable t) {
        logger.log(Level.DEBUG, msg, t);
    }

    public final void trace(String func, String msg) {
        logger.log(Level.TRACE, msg);
    }

    public final void trace(String func, Throwable t) {
        logger.log(Level.TRACE, className + "::" + func, t);
    }

    public final void trace(String func, String msg, Throwable t) {
        logger.log(Level.TRACE, msg, t);
    }

    public final void error(String func, String msg) {
        logger.log(Level.ERROR, msg);
    }

    public final void error(String func, Throwable t) {
        logger.log(Level.ERROR, className + "::" + func, t);
    }

    public final void error(String func, String msg, Throwable t) {
        logger.log(Level.ERROR, msg, t);
    }

    public final void finest(String func, String msg) {
        logger.log(Level.TRACE, msg);
    }

    public final void finest(String func, Throwable t) {
        logger.log(Level.TRACE, className + "::" + func, t);
    }

    public final void finest(String func, String msg, Throwable t) {
        logger.log(Level.TRACE, msg, t);
    }

    public final void finer(String func, String msg) {
        logger.log(Level.TRACE, msg);
    }

    public final void finer(String func, Throwable t) {
        logger.log(Level.TRACE, className + "::" + func, t);
    }

    public final void finer(String func, String msg, Throwable t) {
        logger.log(Level.DEBUG, msg, t);
    }

    public final void fine(String func, String msg) {
        logger.log(Level.DEBUG, msg);
    }

    public final void fine(String func, Throwable t) {
        logger.log(Level.DEBUG, className + "::" + func, t);
    }

    public final void fine(String func, String msg, Throwable t) {
        logger.log(Level.DEBUG, msg, t);
    }

    public final void config(String func, String msg) {
        logger.log(Level.DEBUG, msg);
    }

    public final void config(String func, Throwable t) {
        logger.log(Level.DEBUG, className + "::" + func, t);
    }

    public final void config(String func, String msg, Throwable t) {
        logger.log(Level.DEBUG, msg, t);
    }

    public final void info(String func, String msg) {
        logger.log(Level.INFO, msg);
    }

    public final void info(String func, Throwable t) {
        logger.log(Level.INFO, className + "::" + func, t);
    }

    public final void info(String func, String msg, Throwable t) {
        logger.log(Level.INFO, msg, t);
    }

    public final void warning(String func, String msg) {
        logger.log(Level.WARNING, msg);
    }

    public final void warning(String func, Throwable t) {
        logger.log(Level.WARNING, className + "::" + func, t);
    }

    public final void warning(String func, String msg, Throwable t) {
        logger.log(Level.WARNING, msg, t);
    }

    public final void severe(String func, String msg) {
        logger.log(Level.ERROR, msg);
    }

    public final void severe(String func, Throwable t) {
        logger.log(Level.ERROR, className + "::" + func, t);
    }

    public final void severe(String func, String msg, Throwable t) {
        logger.log(Level.ERROR, msg, t);
    }

    public final String getName() {
        return logger.getName();
    }

    public final boolean isLoggable(Level level) {
        return logger.isLoggable(level);
    }

    public final void log(Level level, ResourceBundle bundle, String msg,
            Throwable thrown) {
        logger.log(level, bundle, msg, thrown);
    }

    public final void log(Level level, ResourceBundle bundle, String format,
                    Object... params) {
        logger.log(level, bundle, format, params);
    }

}

com/sun/jmx/remote/util/ClassLogger.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

JDK 11 java.logging.jmod - Logging Module

Download and Use JDK 11

⇑⇑ FAQ for JDK (Java Development Kit)

2020-04-30, 86092👍, 0💬