modifiableclassloaderrepository.java

来自「JAVA的一些源码 JAVA2 STANDARD EDITION DEVELO」· Java 代码 · 共 54 行

JAVA
54
字号
/* * @(#)ModifiableClassLoaderRepository.java	1.15 03/12/19 *  * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package com.sun.jmx.mbeanserver;// JMX importimport javax.management.ObjectName;import javax.management.loading.ClassLoaderRepository;/** * This interface keeps the list of Class Loaders registered in the  * MBean Server. * It provides the necessary methods to load classes using the  * registered Class Loaders, and to add/remove class loaders from the * list. * * @since 1.5 * @since.unbundled JMX RI 1.2 */public interface ModifiableClassLoaderRepository     extends ClassLoaderRepository {    /**     * Add an anonymous ClassLoader to the repository.     **/    public void addClassLoader(ClassLoader loader);    /**     * Remove the specified ClassLoader to the repository.     * The class loader may or may not be anonymous.     **/    public void removeClassLoader(ClassLoader loader);    /**     * Add a named ClassLoader to the repository.     **/    public void addClassLoader(ObjectName name, ClassLoader loader);    /**     * Remove a named ClassLoader from the repository.     **/    public void removeClassLoader(ObjectName name);    /**     * Get a named ClassLoader from the repository.     **/    public ClassLoader getClassLoader(ObjectName name);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?