|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.management.loading.DefaultLoaderRepository
MBeanServer.getClassLoaderRepository()
}
(을)를 사용합니다.
@Deprecated public class DefaultLoaderRepository
MBean 서버에 등록된 클래스 로더의 리스트를 보관 유지합니다. 등록된 클래스 로더를 사용해, 클래스의 로드에 필요한 메소드를 제공합니다.
호환성을 실현하기 위해서(때문에) 제공되는, 추천 되지 않는 클래스입니다. 이전의 버젼의 JMX 에서는, 모든 MBean 서버로 단일의 DefaultLoaderRepository
가 공유되고 있었습니다. JMX 1.2 에서는,MBeanServerFactory.findMBeanServer(java.lang.String)
를 사용해 기존의 MBean 서버 모든 것을 검출해, 각 MBean 서버 ClassLoaderRepository
에 문의하는 것으로, 같은 기능이 제공됩니다. DefaultLoaderRepository
를 나타내는 코드에 대해서는, 재작성을 강하게 추천합니다.
생성자 의 개요 | |
---|---|
DefaultLoaderRepository ()
추천 되고 있지 않습니다. |
메소드의 개요 | |
---|---|
static Class |
loadClass (String className)
추천 되고 있지 않습니다. 클래스 로더의 리스트를 조사해, 요구된 클래스의 로드를 시도합니다. |
static Class |
loadClassWithout (ClassLoader loader,
String className)
추천 되고 있지 않습니다. 클래스 로더의 리스트 (지정의 클래스 로더는 제외)를 조사해, 요구된 클래스의 로드를 시도합니다. |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
생성자 의 상세 |
---|
public DefaultLoaderRepository()
메소드의 상세 |
---|
public static Class loadClass(String className) throws ClassNotFoundException
ClassNotFoundException
예외를 throw 합니다.
className
- 로드 되는 클래스의 이름
ClassNotFoundException
- 지정된 클래스가
발견되지 않는 경우public static Class loadClassWithout(ClassLoader loader, String className) throws ClassNotFoundException
ClassNotFoundException
예외를 throw 합니다.
className
- 로드 되는 클래스의 이름loader
- 제외되는 클래스 로더.
ClassNotFoundException
- 지정된 클래스가
발견되지 않는 경우
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.