public abstract class AbstractBrooklynClassLoadingContext extends java.lang.Object implements BrooklynClassLoadingContext
Constructor and Description |
---|
AbstractBrooklynClassLoadingContext(ManagementContext mgmt) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
ManagementContext |
getManagementContext() |
int |
hashCode() |
java.lang.Class<?> |
loadClass(java.lang.String className) |
<T> java.lang.Class<? extends T> |
loadClass(java.lang.String className,
java.lang.Class<T> supertype) |
abstract java.lang.String |
toString() |
abstract 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) |
getResource, getResources
public AbstractBrooklynClassLoadingContext(ManagementContext mgmt)
public ManagementContext getManagementContext()
getManagementContext
in interface BrooklynClassLoadingContext
public java.lang.Class<?> loadClass(java.lang.String className)
loadClass
in interface BrooklynClassLoadingContext
public abstract Maybe<java.lang.Class<?>> tryLoadClass(java.lang.String className)
tryLoadClass
in interface BrooklynClassLoadingContext
public <T> java.lang.Class<? extends T> loadClass(java.lang.String className, @Nullable java.lang.Class<T> supertype)
loadClass
in interface BrooklynClassLoadingContext
public <T> Maybe<java.lang.Class<? extends T>> tryLoadClass(java.lang.String className, @Nullable java.lang.Class<T> supertype)
tryLoadClass
in interface BrooklynClassLoadingContext
public abstract java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object