public class ProcessorManager.ProcessorWrapper extends Object
| Constructor and Description |
|---|
ProcessorWrapper(Processor processor)
This constructor is initialised with the processor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Processor |
getProcessor()
This method returns the processor.
|
protected void |
init()
This method initialises the processor.
|
boolean |
isProcessed(BusinessTransaction btxn,
Node node,
Direction direction)
This method checks that this processor matches the supplied business txn
name and node details.
|
void |
process(BusinessTransaction btxn,
Node node,
Direction direction,
Map<String,?> headers,
Object[] values)
This method processes the supplied information to extract the relevant
details.
|
String |
toString() |
boolean |
usesContent()
This method indicates whether the process action uses content values.
|
boolean |
usesHeaders()
This method indicates whether the process action uses headers.
|
public ProcessorWrapper(Processor processor)
processor - The processorprotected void init()
protected Processor getProcessor()
public boolean usesHeaders()
public boolean usesContent()
public boolean isProcessed(BusinessTransaction btxn, Node node, Direction direction)
btxn - The business transactionnode - The nodedirection - The directionpublic void process(BusinessTransaction btxn, Node node, Direction direction, Map<String,?> headers, Object[] values)
btxn - The business transactionnode - The nodedirection - The directionheaders - The optional headersvalues - The valuesCopyright © 2015 Red Hat, Inc.. All rights reserved.