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.loading;
10:
11: import java.net.URL;
12: import java.net.URLStreamHandlerFactory;
13:
14: /**
15: * An MLet that is not registered in the MBeanServer's ClassLoaderRepository (since it implements
16: * the tag interface PrivateClassLoader).
17: *
18: * @version $Revision: 1.3 $
19: * @since JMX 1.2
20: */
21: public class PrivateMLet extends MLet implements PrivateClassLoader {
22: /**
23: * Creates a new PrivateMLet
24: *
25: * @param urls The URLs from where loading classes and resources
26: * @param delegateToCLR True if the MLet should delegate to the MBeanServer's ClassLoaderRepository
27: * in case the class or resource cannot be found by this MLet, false otherwise
28: */
29: public PrivateMLet(URL[] urls, boolean delegateToCLR) {
30: super (urls, delegateToCLR);
31: }
32:
33: /**
34: * Creates a new PrivateMLet
35: *
36: * @param urls The URLs from where loading classes and resources
37: * @param parent The parent classloader
38: * @param delegateToCLR True if the MLet should delegate to the MBeanServer's ClassLoaderRepository
39: * in case the class or resource cannot be found by this MLet, false otherwise
40: */
41: public PrivateMLet(URL[] urls, ClassLoader parent,
42: boolean delegateToCLR) {
43: super (urls, parent, delegateToCLR);
44: }
45:
46: /**
47: * Creates a new PrivateMLet
48: *
49: * @param urls The URLs from where loading classes and resources
50: * @param parent The parent classloader
51: * @param factory The URL stream handler factory to handle custom URL schemes
52: * @param delegateToCLR True if the MLet should delegate to the MBeanServer's ClassLoaderRepository
53: * in case the class or resource cannot be found by this MLet, false otherwise
54: */
55: public PrivateMLet(URL[] urls, ClassLoader parent,
56: URLStreamHandlerFactory factory, boolean delegateToCLR) {
57: super(urls, parent, factory, delegateToCLR);
58: }
59: }
|