|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxsmeral.pipe.PipeAttachedProcessor
public class PipeAttachedProcessor
Basic attached processor associated to a Pipe instance.
| Field Summary | |
|---|---|
protected boolean |
error
|
| Constructor Summary | |
|---|---|
PipeAttachedProcessor()
|
|
| Method Summary | |
|---|---|
boolean |
canStart()
Indicates whether this processor has met conditions for starting. |
protected void |
detach()
The processor removes itself from the Pipe's list of attached processors. |
Map<String,String> |
getParams()
Returns the parameter map used to initialize this processor. |
Pipe |
getPipe()
Returns the associated Pipe. |
void |
chainStopped()
Called after all object processors in chain stopped running. |
AttachedProcessor |
initialize(Map<String,String> params)
Initializes the processor with given parameter map and returns itself. |
void |
postContext()
Called after context has been assigned to all processors. |
void |
preContext()
Called before context is assigned to object processors, can be used for resource injection. |
void |
run()
Starts the processor. |
void |
setParams(Map<String,String> params)
|
void |
setPipe(Pipe pipe)
Associates the processor with a Pipe. |
void |
stop()
Signals the processor to release resources and cease running. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean error
| Constructor Detail |
|---|
public PipeAttachedProcessor()
| Method Detail |
|---|
public AttachedProcessor initialize(Map<String,String> params)
AttachedProcessor
initialize in interface AttachedProcessorpublic void setPipe(Pipe pipe)
AttachedProcessor
setPipe in interface AttachedProcessorpublic Pipe getPipe()
public Map<String,String> getParams()
public void setParams(Map<String,String> params)
public boolean canStart()
AttachedProcessor
canStart in interface AttachedProcessorpublic void preContext()
AttachedProcessor
preContext in interface AttachedProcessorpublic void postContext()
AttachedProcessor
postContext in interface AttachedProcessorpublic void chainStopped()
AttachedProcessor
chainStopped in interface AttachedProcessorpublic void stop()
AttachedProcessor
stop in interface AttachedProcessorpublic void run()
run in interface Runnableprotected void detach()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||