Package org.apache.struts2.util.finder
Class ClassLoaderInterfaceDelegate
java.lang.Object
org.apache.struts2.util.finder.ClassLoaderInterfaceDelegate
- All Implemented Interfaces:
ClassLoaderInterface
Default implementation of ClassLoaderInterface, which delegates to an actual ClassLoader
-
Field Summary
Fields inherited from interface org.apache.struts2.util.finder.ClassLoaderInterface
CLASS_LOADER_INTERFACE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResource
(String className) getResourceAsStream
(String name) getResources
(String name) Class<?>
-
Constructor Details
-
ClassLoaderInterfaceDelegate
-
-
Method Details
-
loadClass
- Specified by:
loadClass
in interfaceClassLoaderInterface
- Throws:
ClassNotFoundException
-
getResource
- Specified by:
getResource
in interfaceClassLoaderInterface
-
getResources
- Specified by:
getResources
in interfaceClassLoaderInterface
- Throws:
IOException
-
getResourceAsStream
- Specified by:
getResourceAsStream
in interfaceClassLoaderInterface
-
getParent
- Specified by:
getParent
in interfaceClassLoaderInterface
-