Skip navigation links

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

E47890-01


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

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

All Implemented Interfaces:
ElementProcessor
Direct Known Subclasses:
ProxyServiceProcessor

public class ServiceBuilderProcessor
extends java.lang.Object
implements ElementProcessor

A ServiceBuilderProcessor is an ElementProcessor responsible for producing various kinds of ServiceBuilders.

Since:
Coherence 12.1.2
Author:
pfm 2011.11.30

Constructor Summary
ServiceBuilderProcessor(java.lang.Class clzToRealize)
          Constructs a ServiceBuilderProcessor for the specified Class of ServiceBuilder.

 

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

 

Constructor Detail

ServiceBuilderProcessor

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

Method Detail

process

public ServiceBuilder 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 ServiceBuilder instantiate()
Instantiate the required class to inject and return.
Returns:
object to be injected

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.