📄 modifiableclassloaderrepository.java
字号:
/* * @(#)ModifiableClassLoaderRepository.java 1.16 05/11/17 * * Copyright 2006 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -