Package org.jbehave.core.embedder
Class EmbedderClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
org.jbehave.core.embedder.EmbedderClassLoader
- All Implemented Interfaces:
Closeable
,AutoCloseable
EmbedderClassLoader is a URLClassLoader with a specified list of classpath
elements. It also provides a utility method
newInstance(Class, String)
to instantiate generic types.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
ConstructorDescriptionEmbedderClassLoader
(ClassLoader parent) EmbedderClassLoader
(List<String> classpathElements) EmbedderClassLoader
(List<String> classpathElements, ClassLoader parent) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isAbstract
(String className) <T> T
newInstance
(Class<T> type, String className) toString()
Methods inherited from class java.net.URLClassLoader
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners