@Deprecated public static interface ParameterizedBuilder.ReflectionSupport
A deprecated interface that ParameterizedBuilder
s may implement to provide runtime type information about the type of objects that may be built.
ParameterizedBuilderHelper.realizes(ParameterizedBuilder, Class, ParameterResolver, ClassLoader)
Modifier and Type | Method and Description |
---|---|
boolean |
realizes(Class<?> clzClass, com.tangosol.config.expression.ParameterResolver resolver, ClassLoader loader)
Deprecated.
Determines if the
ParameterizedBuilder will realize an instance of the specified class (without requiring the builder to actually realize an object). |
boolean realizes(Class<?> clzClass, com.tangosol.config.expression.ParameterResolver resolver, ClassLoader loader)
ParameterizedBuilder
will realize an instance of the specified class (without requiring the builder to actually realize an object).
This method is synonymous with the Java keyword instanceof
but allows dynamic runtime type querying of the types of objects a builder may realize.
clzClass
- the expected typeresolver
- the ParameterResolver
to use for resolving necessary Parameter
sloader
- the ClassLoader
for loading any necessary classes and if null
the ClassLoader
used to load the builder will be used insteadtrue
if the ParameterizedBuilder
will realize an instance of the class, false
otherwise