public static class LoaderDispatcher.ClassLoaderDispatcher extends java.lang.Object implements LoaderDispatcher<java.lang.Class<?>>
LoaderDispatcher.ClassLoaderDispatcher, LoaderDispatcher.MultipleResourceLoaderDispatcher, LoaderDispatcher.ResourceLoaderDispatcher
Modifier and Type | Field and Description |
---|---|
static LoaderDispatcher.ClassLoaderDispatcher |
INSTANCE |
Constructor and Description |
---|
ClassLoaderDispatcher() |
Modifier and Type | Method and Description |
---|---|
Maybe<java.lang.Class<?>> |
tryLoadFrom(BrooklynClassLoadingContext loader,
java.lang.String className) |
Maybe<java.lang.Class<?>> |
tryLoadFrom(org.osgi.framework.Bundle bundle,
java.lang.String className) |
Maybe<java.lang.Class<?>> |
tryLoadFrom(java.lang.ClassLoader classLoader,
java.lang.String className) |
public static final LoaderDispatcher.ClassLoaderDispatcher INSTANCE
public Maybe<java.lang.Class<?>> tryLoadFrom(org.osgi.framework.Bundle bundle, java.lang.String className)
tryLoadFrom
in interface LoaderDispatcher<java.lang.Class<?>>
public Maybe<java.lang.Class<?>> tryLoadFrom(BrooklynClassLoadingContext loader, java.lang.String className)
tryLoadFrom
in interface LoaderDispatcher<java.lang.Class<?>>
public Maybe<java.lang.Class<?>> tryLoadFrom(java.lang.ClassLoader classLoader, java.lang.String className)
tryLoadFrom
in interface LoaderDispatcher<java.lang.Class<?>>