Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.coherence.config.xml.processor
Class CustomizableBuilderProcessor

java.lang.Object
  extended by com.tangosol.coherence.config.xml.processor.CustomizableBuilderProcessor

All Implemented Interfaces:
ElementProcessor
Direct Known Subclasses:
CompositeSchemeProcessor, CustomizableBinaryStoreManagerBuilderProcessor, InterceptorProcessor

public class CustomizableBuilderProcessor
extends java.lang.Object
implements ElementProcessor

A CustomizableBuilderProcessor is a multi-purpose ElementProcessor responsible for processing xml elements that produce objects supporting BuilderCustomization.

Since:
Coherence 12.1.2
Author:
pfm 2011.11.30, bo 2012.02.09

Constructor Summary
CustomizableBuilderProcessor(java.lang.Class clzToRealize)
          Constructs a CustomizableBuilderProcessor for the specified Class.

 

Method Summary
protected  java.lang.Object instantiate()
          Instantiate the required class to inject and return.
 java.lang.Object process(ProcessingContext context, XmlElement element)
          Process an XmlElement to return a specific type of value.

 

Constructor Detail

CustomizableBuilderProcessor

public CustomizableBuilderProcessor(java.lang.Class clzToRealize)
Constructs a CustomizableBuilderProcessor for the specified Class.
Parameters:
clzToRealize - the class that will be instantiated, injected and returned during processing

Method Detail

process

public java.lang.Object process(ProcessingContext context,
                                XmlElement element)
                         throws ConfigurationException
Process an XmlElement to return a specific type of value.
Specified by:
process in interface ElementProcessor
Parameters:
context - the ProcessingContext in which the XmlElement is being processed
element - the XmlElement to process
Returns:
a value of type T
Throws:
ConfigurationException - when a configuration problem was encountered

instantiate

protected java.lang.Object instantiate()
Instantiate the required class to inject and return.
Returns:
object to be injected

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


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