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