public interface BrooklynClassLoadingContext
Modifier and Type | Method and Description |
---|---|
ManagementContext |
getManagementContext() |
java.net.URL |
getResource(java.lang.String name)
As
ClassLoader.getResource(String) |
java.lang.Iterable<java.net.URL> |
getResources(java.lang.String name)
As
ClassLoader.getResources(String) but returning an Iterable rather than
an Enumeration . |
java.lang.Class<?> |
loadClass(java.lang.String className) |
<T> java.lang.Class<? extends T> |
loadClass(java.lang.String className,
java.lang.Class<T> supertype) |
Maybe<java.lang.Class<?>> |
tryLoadClass(java.lang.String className) |
<T> Maybe<java.lang.Class<? extends T>> |
tryLoadClass(java.lang.String className,
java.lang.Class<T> supertype) |
ManagementContext getManagementContext()
java.lang.Class<?> loadClass(java.lang.String className)
<T> java.lang.Class<? extends T> loadClass(java.lang.String className, @Nullable java.lang.Class<T> supertype)
Maybe<java.lang.Class<?>> tryLoadClass(java.lang.String className)
<T> Maybe<java.lang.Class<? extends T>> tryLoadClass(java.lang.String className, @Nullable java.lang.Class<T> supertype)
java.net.URL getResource(java.lang.String name)
ClassLoader.getResource(String)
java.lang.Iterable<java.net.URL> getResources(java.lang.String name)
ClassLoader.getResources(String)
but returning an Iterable
rather than
an Enumeration
.