|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Processing pipeline component. Responsible for hooking filter(s) up to an input channel & an output channel & running a them.
| Method Summary | |
void |
addFilter(Filter f)
Add a filter using the default channel. |
void |
addFilter(Filter f,
Channel c)
Add a filer using the provided Channel. |
void |
flush()
Cleanup in-process work and shutdown queues. |
Channel |
getErrorChannel()
Return the error channel to which the pipe is hooked up. |
Channel |
getInputChannel()
Return the input channel to which the pipe is hooked. |
Channel |
getOutputChannel()
Return the output channel to which the pipe is hooked up. |
void |
init(Channel ch)
Allow the framework to provide a default Channel implementation. |
void |
process()
Run the filter. |
void |
setExceptionHandler(ExceptionHandler handler)
Set exception handler instance |
| Method Detail |
public void init(Channel ch)
throws InitializationException
ch -
InitializationExceptionpublic void setExceptionHandler(ExceptionHandler handler)
handler -
public void process()
throws ProcessingException
ProcessingExceptionpublic void flush()
public Channel getInputChannel()
public Channel getOutputChannel()
public Channel getErrorChannel()
public void addFilter(Filter f)
f -
public void addFilter(Filter f,
Channel c)
f - c -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||