public interface RegisteredTypeLoadingContext
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
|
@Nullable BrooklynTypeRegistry.RegisteredTypeKind getExpectedKind()
@Nonnull java.lang.Class<?> getExpectedJavaSuperType()
Entity
not EntitySpec
).
If nothing is specified, this returns Object
's class.@Nonnull java.util.Set<java.lang.String> getAlreadyEncounteredTypes()
@Nullable BrooklynClassLoadingContext getLoader()