public class JavaBrooklynClassLoadingContext extends AbstractBrooklynClassLoadingContext
Constructor and Description |
---|
JavaBrooklynClassLoadingContext(ManagementContext mgmt,
java.lang.ClassLoader loader)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static JavaBrooklynClassLoadingContext |
create(java.lang.ClassLoader loader) |
static JavaBrooklynClassLoadingContext |
create(ManagementContext mgmt,
java.lang.ClassLoader loader)
At least one of mgmt or loader must not be null.
|
boolean |
equals(java.lang.Object obj) |
java.net.URL |
getResource(java.lang.String name)
as
ClassLoader.getResource(String) |
int |
hashCode() |
static JavaBrooklynClassLoadingContext |
newDefault(ManagementContext mgmt) |
java.lang.String |
toString() |
Maybe<java.lang.Class<?>> |
tryLoadClass(java.lang.String className) |
getManagementContext, loadClass, loadClass, tryLoadClass
@Deprecated public JavaBrooklynClassLoadingContext(ManagementContext mgmt, java.lang.ClassLoader loader)
public static JavaBrooklynClassLoadingContext create(java.lang.ClassLoader loader)
public static JavaBrooklynClassLoadingContext create(ManagementContext mgmt, java.lang.ClassLoader loader)
public static JavaBrooklynClassLoadingContext newDefault(ManagementContext mgmt)
public Maybe<java.lang.Class<?>> tryLoadClass(java.lang.String className)
tryLoadClass
in interface BrooklynClassLoadingContext
tryLoadClass
in class AbstractBrooklynClassLoadingContext
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
public java.net.URL getResource(java.lang.String name)
BrooklynClassLoadingContext
ClassLoader.getResource(String)