Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.coherence.config.builder
Interface ParameterizedBuilder.ReflectionSupport

All Known Implementing Classes:
ClassScheme, EvictionPolicyBuilder, InstanceBuilder, StaticFactoryInstanceBuilder
Enclosing interface:
ParameterizedBuilder

public static interface ParameterizedBuilder.ReflectionSupport

An optional interface that ParameterizedBuilders may implement to provide runtime type information about the type of objects that may be built.

See Also:
ParameterizedBuilderHelper.realizes(ParameterizedBuilder, Class, ParameterResolver, ClassLoader)

Method Summary
 boolean realizes(java.lang.Class clzClass, com.tangosol.config.expression.ParameterResolver resolver, java.lang.ClassLoader loader)
          Determines if the ParameterizedBuilder will realize an instance of the specified class (without requiring the builder to actually realize an object).

 

Method Detail

realizes

boolean realizes(java.lang.Class clzClass,
                 com.tangosol.config.expression.ParameterResolver resolver,
                 java.lang.ClassLoader loader)
Determines if the 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.

Parameters:
clzClass - the expected type
resolver - the ParameterResolver to use for resolving necessary Parameters
loader - the ClassLoader for loading any necessary classes and if null the ClassLoader used to load the builder will be used instead
Returns:
true if the ParameterizedBuilder will realize an instance of the class, false otherwise

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.