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 preferred or additional bundles and search paths
|
java.lang.String |
toString() |
public BasicRegisteredTypeLoadingContext(@Nullable
RegisteredTypeLoadingContext source)
public BrooklynTypeRegistry.RegisteredTypeKind getExpectedKind()
RegisteredTypeLoadingContextgetExpectedKind in interface RegisteredTypeLoadingContextpublic java.lang.Class<?> getExpectedJavaSuperType()
RegisteredTypeLoadingContextEntity not EntitySpec).
If nothing is specified, this returns Object's class.getExpectedJavaSuperType in interface RegisteredTypeLoadingContextpublic java.util.Set<java.lang.String> getAlreadyEncounteredTypes()
RegisteredTypeLoadingContextgetAlreadyEncounteredTypes in interface RegisteredTypeLoadingContextpublic BrooklynClassLoadingContext getLoader()
RegisteredTypeLoadingContextgetLoader in interface RegisteredTypeLoadingContextpublic java.lang.String toString()
toString in class java.lang.Object