|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
| 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 class| Method Detail |
|---|
public InvocableMap.EntryProcessor getProcessor(java.lang.String[] asArgs)
getProcessor in interface ProcessorFactoryasArgs - 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® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||