public final class BrooklynClassLoadingContextSequential extends AbstractBrooklynClassLoadingContext
Constructor and Description |
---|
BrooklynClassLoadingContextSequential(ManagementContext mgmt,
BrooklynClassLoadingContext... targets) |
Modifier and Type | Method and Description |
---|---|
void |
add(BrooklynClassLoadingContext target) |
void |
addSecondary(BrooklynClassLoadingContext target) |
boolean |
equals(java.lang.Object obj) |
java.net.URL |
getResource(java.lang.String resourceInThatDir)
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 . |
int |
hashCode() |
java.lang.String |
toString() |
Maybe<java.lang.Class<?>> |
tryLoadClass(java.lang.String className) |
getManagementContext, loadClass, loadClass, tryLoadClass
public BrooklynClassLoadingContextSequential(ManagementContext mgmt, BrooklynClassLoadingContext... targets)
public void add(BrooklynClassLoadingContext target)
public void addSecondary(BrooklynClassLoadingContext target)
public Maybe<java.lang.Class<?>> tryLoadClass(java.lang.String className)
tryLoadClass
in interface BrooklynClassLoadingContext
tryLoadClass
in class AbstractBrooklynClassLoadingContext
public java.net.URL getResource(java.lang.String resourceInThatDir)
BrooklynClassLoadingContext
ClassLoader.getResource(String)
public java.lang.Iterable<java.net.URL> getResources(java.lang.String name)
BrooklynClassLoadingContext
ClassLoader.getResources(String)
but returning an Iterable
rather than
an Enumeration
.public java.lang.String toString()
toString
in class AbstractBrooklynClassLoadingContext
public int hashCode()
hashCode
in class AbstractBrooklynClassLoadingContext
public boolean equals(java.lang.Object obj)
equals
in class AbstractBrooklynClassLoadingContext