|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-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.ProcessorRegistry
public class ProcessorRegistry
A registry for ProcessorFactory instances.
| Field Summary | |
|---|---|
static java.lang.String |
PROCESSOR_REQUEST_REGEXRegex pattern that defines the processor request syntax. |
| Constructor Summary | |
|---|---|
ProcessorRegistry()Construct an ProcessorRegistry. |
|
ProcessorRegistry(java.util.Collection colConfig)Construct an ProcessorRegistry that includes built-in processors in addition to the specified processors. |
|
| Method Summary | |
|---|---|
InvocableMap.EntryProcessor |
getProcessor(java.lang.String sRequest)Returns a configured processor. |
void |
register(java.util.Collection colConfig)Register a collection of processors. |
void |
register(java.lang.String sName, java.lang.Class clz)Registers processor factory with the given name. |
void |
register(java.lang.String sName, ProcessorFactory factory)Registers a processor factory with the given name. |
| Field Detail |
|---|
public static final java.lang.String PROCESSOR_REQUEST_REGEX
| Constructor Detail |
|---|
public ProcessorRegistry()
By default the following built-in processors will be registered:
public ProcessorRegistry(java.util.Collection colConfig)
colConfig - processor configurations| Method Detail |
|---|
public InvocableMap.EntryProcessor getProcessor(java.lang.String sRequest)
sRequest - the processor request
public void register(java.lang.String sName,
ProcessorFactory factory)
sName - the processor namefactory - the processor factory
public void register(java.lang.String sName,
java.lang.Class clz)
sName - the processor nameclz - the processor factory classpublic void register(java.util.Collection colConfig)
colConfig - the processor configurations
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||