|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.coherence.config.xml.processor.AbstractEmptyElementProcessor
com.tangosol.coherence.config.xml.processor.SpecificInstanceProcessor
public class SpecificInstanceProcessor
An ElementProcessor
that will process an XmlElement
defining a ParameterizedBuilder
, after which it will eagerly realized to produce an instance of the required type.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.tangosol.coherence.config.xml.processor.AbstractEmptyElementProcessor |
---|
AbstractEmptyElementProcessor.EmptyElementBehavior |
Constructor Summary | |
---|---|
SpecificInstanceProcessor(java.lang.Class clzToRealize) Constructs a SpecificInstanceProcessor for the specified Class . |
|
SpecificInstanceProcessor(java.lang.Class clzToRealize, AbstractEmptyElementProcessor.EmptyElementBehavior behavior) Constructs a SpecificInstanceProcessor for the specified Class . |
|
SpecificInstanceProcessor(java.lang.Class clzToRealize, java.lang.Object oDefaultValue) Constructs a SpecificInstanceProcessor for the specified Class . |
Method Summary | |
---|---|
java.lang.Object |
onProcess(ProcessingContext context, XmlElement xmlElement) Process an XmlElement to return a specific type of value. |
Methods inherited from class com.tangosol.coherence.config.xml.processor.AbstractEmptyElementProcessor |
---|
accepts, isEmptyElement, process |
Constructor Detail |
---|
public SpecificInstanceProcessor(java.lang.Class clzToRealize)
SpecificInstanceProcessor
for the specified Class
.
clzToRealize
- the class that will be instantiated, injected and returned during processingpublic SpecificInstanceProcessor(java.lang.Class clzToRealize, AbstractEmptyElementProcessor.EmptyElementBehavior behavior)
SpecificInstanceProcessor
for the specified Class
.
clzToRealize
- the class that will be instantiated, injected and returned during processingbehavior
- the AbstractEmptyElementProcessor.EmptyElementBehavior
when an empty XmlElement
is encounteredpublic SpecificInstanceProcessor(java.lang.Class clzToRealize, java.lang.Object oDefaultValue)
SpecificInstanceProcessor
for the specified Class
.
clzToRealize
- the class that will be instantiated, injected and returned during processingoDefaultValue
- the value to return when an empty XmlElement
is encounteredMethod Detail |
---|
public java.lang.Object onProcess(ProcessingContext context, XmlElement xmlElement) throws ConfigurationException
XmlElement
to return a specific type of value.onProcess
in class AbstractEmptyElementProcessor
context
- the ProcessingContext
in which the XmlElement
is being processedxmlElement
- the XmlElement
to processConfigurationException
- when a configuration problem was encountered
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |