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
Class UnitCalculatorBuilder

java.lang.Object
  extended by com.tangosol.coherence.config.builder.DefaultBuilderCustomization
      extended by com.tangosol.coherence.config.builder.UnitCalculatorBuilder

All Implemented Interfaces:
BuilderCustomization, ParameterizedBuilder

public class UnitCalculatorBuilder
extends DefaultBuilderCustomization
implements ParameterizedBuilder

The UnitCalculatorBuilder class builds a ConfigurableCacheMap.UnitCalculator.

Since:
Coherence 12.1.2
Author:
pfm 2012.01.07

Nested Class Summary

 

Nested classes/interfaces inherited from interface com.tangosol.coherence.config.builder.ParameterizedBuilder
ParameterizedBuilder.ReflectionSupport

 

Constructor Summary
UnitCalculatorBuilder()
           

 

Method Summary
 java.lang.String getUnitCalculatorType(com.tangosol.config.expression.ParameterResolver resolver)
          Return the ConfigurableCacheMap.UnitCalculator type.
 ConfigurableCacheMap.UnitCalculator realize(com.tangosol.config.expression.ParameterResolver resolver, java.lang.ClassLoader loader, ParameterList listParameters)
          Realizes (creates if necessary) an instance of a object of type T, using the provided ParameterResolver to resolve values any referenced Parameters.
 boolean realizes(java.lang.Class clzClass, com.tangosol.config.expression.ParameterResolver resolver, java.lang.ClassLoader loader)
          
 void setUnitCalculatorType(com.tangosol.config.expression.Expression expr)
          Set the ConfigurableCacheMap.UnitCalculator type.

 

Methods inherited from class com.tangosol.coherence.config.builder.DefaultBuilderCustomization
getCustomBuilder, setCustomBuilder

 

Constructor Detail

UnitCalculatorBuilder

public UnitCalculatorBuilder()

Method Detail

getUnitCalculatorType

public java.lang.String getUnitCalculatorType(com.tangosol.config.expression.ParameterResolver resolver)
Return the ConfigurableCacheMap.UnitCalculator type.
Parameters:
resolver - the ParameterResolver
Returns:
the type of ConfigurableCacheMap.UnitCalculator

setUnitCalculatorType

@Injectable
public void setUnitCalculatorType(com.tangosol.config.expression.Expression expr)
Set the ConfigurableCacheMap.UnitCalculator type.
Parameters:
expr - the ConfigurableCacheMap.UnitCalculator type

realizes

public boolean realizes(java.lang.Class clzClass,
                        com.tangosol.config.expression.ParameterResolver resolver,
                        java.lang.ClassLoader loader)

realize

public ConfigurableCacheMap.UnitCalculator realize(com.tangosol.config.expression.ParameterResolver resolver,
                                                   java.lang.ClassLoader loader,
                                                   ParameterList listParameters)
Realizes (creates if necessary) an instance of a object of type T, using the provided ParameterResolver to resolve values any referenced Parameters.
Specified by:
realize in interface ParameterizedBuilder
Parameters:
resolver - the ParameterResolver for resolving named Parameters
loader - the ClassLoader for loading any necessary classes and if null the ClassLoader used to load the builder will be used instead
listParameters - an optional ParameterList (may be null) to be used for realizing the instance, eg: used as constructor parameters
Returns:
an instance of T

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.