public void
addURL
(URL url)
[Overrides URLClassLoader]
[Specified in MLetMBean]
protected URL
check
(String version, URL codebase, String jarfile, MLetContent mlet)
throws
Exception
protectedfinal Class<Object>
protectedfinal Class<Object>
defineClass
(String name, byte[] b, int off, int len)
throws
ClassFormatError
[Inherited From ClassLoader]
protectedfinal Class<Object>
defineClass
(String name, byte[] b, int off, int len, CodeSource cs)
[Inherited From SecureClassLoader]
protectedfinal Class<Object>
defineClass
(String name, byte[] b, int off, int len, ProtectionDomain protectionDomain)
throws
ClassFormatError
[Inherited From ClassLoader]
protectedfinal Class<Object>
defineClass
(String name, ByteBuffer b, CodeSource cs)
[Inherited From SecureClassLoader]
Converts a ByteBuffer
into an instance of class Class, with an optional CodeSource.
protectedfinal Class<Object>
defineClass
(String name, ByteBuffer b, ProtectionDomain protectionDomain)
throws
ClassFormatError
[Inherited From ClassLoader]
Converts a ByteBuffer
into an instance of class Class,
with an optional ProtectionDomain.
protected Package
definePackage
(String name, Manifest man, URL url)
throws
IllegalArgumentException
[Inherited From URLClassLoader]
protected Class<Object>
findClass
(String name)
throws
ClassNotFoundException
[Overrides URLClassLoader]
pack-private Class<Object>
findClass
(String name, ClassLoaderRepository clr)
throws
ClassNotFoundException
Called by MLet.findClass(java.lang.String).
protectedfinal Class<Object>
findLoadedClass
(String name)
[Inherited From ClassLoader]
Returns the class with the given binary name if this
loader has been recorded by the Java virtual machine as an initiating
loader of a class with that binary name.
public Enumeration<URL>
findResources
(String name)
throws
IOException
[Inherited From URLClassLoader]
protectedfinal Class<Object>
findSystemClass
(String name)
throws
ClassNotFoundException
[Inherited From ClassLoader]
Finds a class with the specified binary name,
loading it if necessary.
public Set<Object>
getMBeansFromURL
(String url)
throws
ServiceNotFoundException
[Specified in MLetMBean]
public Set<Object>
getMBeansFromURL
(URL url)
throws
ServiceNotFoundException
[Specified in MLetMBean]
protected PermissionCollection
getPermissions
(CodeSource codesource)
[Inherited From URLClassLoader]
publicstatic Enumeration<URL>
getSystemResources
(String name)
throws
IOException
[Inherited From ClassLoader]
public Class<Object>
loadClass
(String name)
throws
ClassNotFoundException
[Inherited From ClassLoader]
Loads the class with the specified binary name.
protectedsynchronized Class<Object>
loadClass
(String name, boolean resolve)
throws
ClassNotFoundException
[Inherited From ClassLoader]
Loads the class with the specified binary name.
publicsynchronized Class<Object>
loadClass
(String name, ClassLoaderRepository clr)
throws
ClassNotFoundException
Load a class, using the given ClassLoaderRepository if
the class is not found in this MLet's URLs.
publicstatic URLClassLoader
newInstance
(URL urls, ClassLoader parent)
[Inherited From URLClassLoader]
public void
postDeregister
()
[Specified in MBeanRegistration]
public ObjectName
preRegister
(MBeanServer server, ObjectName name)
throws
Exception
[Specified in MBeanRegistration]
public void
readExternal
(ObjectInput in)
throws
IOException
ClassNotFoundException
UnsupportedOperationException
[Specified in Externalizable]
Restore this MLet's contents from the given ObjectInput.
publicsynchronized void
setClassAssertionStatus
(String className, boolean enabled)
[Inherited From ClassLoader]
publicsynchronized void
setPackageAssertionStatus
(String packageName, boolean enabled)
[Inherited From ClassLoader]
public void
writeExternal
(ObjectOutput out)
throws
IOException
UnsupportedOperationException
[Specified in Externalizable]
Save this MLet's contents to the given ObjectOutput.