01: /*
02: * Copyright (C) The MX4J Contributors.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the MX4J License version 1.0.
06: * See the terms of the MX4J License in the documentation provided with this software.
07: */
08:
09: package javax.management;
10:
11: /**
12: * Do not use this class !
13: *
14: * @version $Revision: 1.3 $
15: * @deprecated Use {@link MBeanServer#getClassLoaderRepository} instead.
16: */
17: public class DefaultLoaderRepository {
18: /**
19: * Do not use !
20: *
21: * @deprecated Use {@link javax.management.loading.ClassLoaderRepository#loadClass} instead.
22: */
23: public static Class loadClass(String s)
24: throws ClassNotFoundException {
25: return javax.management.loading.DefaultLoaderRepository
26: .loadClass(s);
27: }
28:
29: /**
30: * Do not use !
31: *
32: * @deprecated Use {@link javax.management.loading.ClassLoaderRepository#loadClassWithout} instead.
33: */
34: public static Class loadClassWithout(ClassLoader classloader,
35: String s) throws ClassNotFoundException {
36: return javax.management.loading.DefaultLoaderRepository
37: .loadClassWithout(classloader, s);
38: }
39: }
|