|
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.rest.util.processor.DefaultProcessorFactory
public class DefaultProcessorFactory
The default implementation of ProcessorFactory
.
This ProcessorFactory
implementation is used for processors that require a single String
argument in the constructor and require no additional configuration.
Constructor Summary | |
---|---|
DefaultProcessorFactory(java.lang.Class clzProcessor) Construct a DefaultProcessorFactory instance. |
Method Summary | |
---|---|
protected InvocableMap.EntryProcessor |
createProcessor(java.lang.String sProperty) Create and initialize a new processor instance. |
protected java.lang.reflect.Constructor |
getConstructor(java.lang.reflect.Constructor[] aCtors) Search the given constructors for a constructor that accepts a String parameter. |
InvocableMap.EntryProcessor |
getProcessor(java.lang.String[] asArgs) Return a processor instantiated by calling a processor class constructor. |
Constructor Detail |
---|
public DefaultProcessorFactory(java.lang.Class clzProcessor)
clzProcessor
- the processor classMethod Detail |
---|
public InvocableMap.EntryProcessor getProcessor(java.lang.String[] asArgs)
getProcessor
in interface ProcessorFactory
asArgs
- configuration argumentsjava.lang.IllegalArgumentException
- if an appropriate constructor cannot be foundprotected InvocableMap.EntryProcessor createProcessor(java.lang.String sProperty)
sProperty
- property to be handled by processorprotected java.lang.reflect.Constructor getConstructor(java.lang.reflect.Constructor[] aCtors)
String
parameter. If found, return the constructor, otherwise return the public default constructor, if available.aCtors
- constructor array
|
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 |