| java.net.URLClassLoader javax.management.loading.MLet
All known Subclasses: javax.management.loading.PrivateMLet,
MLet | public MLet(URL[] urls, boolean delegateToCLR)(Code) | | |
check | protected URL check(String version, URL codebase, String jarfile, MLetContent mlet) throws Exception(Code) | | This method is to be overridden when extending this service to support
caching and versioning. It is called from getMBeansFromURL when the
version, codebase, and jarfile have been extracted from the MLet file,
and can be used to verify that it is all right to load the given MBean,
or to replace the given URL with a different one.
The default implementation of this method returns codebase unchanged.
Parameters: version - Parameters: codebase - Parameters: jarfile - Parameters: mlet - throws: Exception - |
getLibraryDirectory | public String getLibraryDirectory()(Code) | | |
getURLs | public URL[] getURLs()(Code) | | Returns the search path of URLs for loading classes and resources. This
includes the original list of URLs specified to the constructor, along
with any URLs subsequently appended by the addURL() method.
|
loadClass | public Class loadClass(String name, ClassLoaderRepository clr) throws ClassNotFoundException(Code) | | Load a class, using the given ClassLoaderRepository if the class is not
found in this MLet's URLs. The given ClassLoaderRepository can be null,
in which case a ClassNotFoundException occurs immediately if the class is
not found in this MLet's URLs.
Parameters: name - Parameters: clr - throws: ClassNotFoundException - |
postDeregister | public void postDeregister()(Code) | | |
postRegister | public void postRegister(Boolean registrationDone)(Code) | | |
setLibraryDirectory | public void setLibraryDirectory(String libdir)(Code) | | |
|
|