Package org.codehaus.classworlds
Class ClassRealmReverseAdapter
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
org.codehaus.plexus.classworlds.realm.ClassRealm
org.codehaus.classworlds.ClassRealmReverseAdapter
- All Implemented Interfaces:
Closeable
,AutoCloseable
Deprecated.
A reverse adapter for ClassRealms
- Author:
- Andrew Williams
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Deprecated.void
display()
Deprecated.boolean
Deprecated.findResources
(String name) Deprecated.Deprecated.getId()
Deprecated.static ClassRealmReverseAdapter
getInstance
(ClassRealm oldRealm) Deprecated.Deprecated.getResource
(String name) Deprecated.getResourceAsStream
(String name) Deprecated.URL[]
getURLs()
Deprecated.getWorld()
Deprecated.void
importFrom
(String realmId, String pkgName) Deprecated.Deprecated.locateSourceRealm
(String className) Deprecated.void
setParentRealm
(ClassRealm classRealm) Deprecated.Methods inherited from class org.codehaus.plexus.classworlds.realm.ClassRealm
display, findClass, findClass, findClassInternal, findResource, getClassLoadingLock, getImportClassLoader, getImportRealms, getParentClassLoader, getResources, getStrategy, importFrom, importFromParent, loadClass, loadClassFromImport, loadClassFromParent, loadClassFromSelf, loadResourceFromImport, loadResourceFromParent, loadResourceFromSelf, loadResourcesFromImport, loadResourcesFromParent, loadResourcesFromSelf, setParentClassLoader, toString
Methods inherited from class java.net.URLClassLoader
close, definePackage, getPermissions, newInstance, newInstance
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Method Details
-
getInstance
Deprecated. -
getId
Deprecated.- Overrides:
getId
in classClassRealm
-
getWorld
Deprecated.- Overrides:
getWorld
in classClassRealm
-
importFrom
Deprecated.- Overrides:
importFrom
in classClassRealm
- Throws:
NoSuchRealmException
-
addURL
Deprecated.- Overrides:
addURL
in classClassRealm
-
locateSourceRealm
Deprecated. -
setParentRealm
Deprecated.- Overrides:
setParentRealm
in classClassRealm
-
createChildRealm
Deprecated.- Overrides:
createChildRealm
in classClassRealm
- Throws:
DuplicateRealmException
-
getClassLoader
Deprecated. -
getParentRealm
Deprecated.- Overrides:
getParentRealm
in classClassRealm
-
getURLs
Deprecated.- Overrides:
getURLs
in classURLClassLoader
-
loadClass
Deprecated.- Overrides:
loadClass
in classClassRealm
- Throws:
ClassNotFoundException
-
getResource
Deprecated.- Overrides:
getResource
in classClassRealm
-
findResources
Deprecated.- Overrides:
findResources
in classClassRealm
- Throws:
IOException
-
getResourceAsStream
Deprecated.- Overrides:
getResourceAsStream
in classURLClassLoader
-
display
public void display()Deprecated.- Overrides:
display
in classClassRealm
-
equals
Deprecated.
-