public static final class RegisteredTypeLoadingContexts.BasicRegisteredTypeLoadingContext extends java.lang.Object implements RegisteredTypeLoadingContext
Constructor and Description |
---|
BasicRegisteredTypeLoadingContext(RegisteredTypeLoadingContext source) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getAlreadyEncounteredTypes()
encountered types, so that during resolution,
if we have already attempted to resolve a given type,
the instantiator can avoid recursive cycles
|
java.lang.Class<?> |
getExpectedJavaSuperType()
A java super-type or interface that should be filtered for;
for specs, this refers to the target type, not the spec
(eg
Entity not EntitySpec ). |
BrooklynTypeRegistry.RegisteredTypeKind |
getExpectedKind()
The kind required, if specified.
|
BrooklynClassLoadingContext |
getLoader()
A loader to use, supplying additional search paths
|
java.lang.String |
toString() |
public BasicRegisteredTypeLoadingContext(@Nullable RegisteredTypeLoadingContext source)
public BrooklynTypeRegistry.RegisteredTypeKind getExpectedKind()
RegisteredTypeLoadingContext
getExpectedKind
in interface RegisteredTypeLoadingContext
public java.lang.Class<?> getExpectedJavaSuperType()
RegisteredTypeLoadingContext
Entity
not EntitySpec
).
If nothing is specified, this returns Object
's class.getExpectedJavaSuperType
in interface RegisteredTypeLoadingContext
public java.util.Set<java.lang.String> getAlreadyEncounteredTypes()
RegisteredTypeLoadingContext
getAlreadyEncounteredTypes
in interface RegisteredTypeLoadingContext
public BrooklynClassLoadingContext getLoader()
RegisteredTypeLoadingContext
getLoader
in interface RegisteredTypeLoadingContext
public java.lang.String toString()
toString
in class java.lang.Object