|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.phleisch.app.itsucks.processing.impl.AbstractDataProcessor
public abstract class AbstractDataProcessor
Basic implementation of an data processor.
| Field Summary | |
|---|---|
protected DataProcessorChain |
mChain
|
| Constructor Summary | |
|---|---|
AbstractDataProcessor()
|
|
| Method Summary | |
|---|---|
void |
abort()
Will be called when the chain is aborted. |
void |
finish()
Shutdown the data processor. |
DataProcessorChain |
getProcessorChain()
|
void |
init()
Initializes the data processor. |
void |
rollback()
Will be called when the chain is unexpectly aborted. |
void |
setProcessorChain(DataProcessorChain pChain)
Sets the processor chain the processor is a part of. |
abstract boolean |
supports(Job pJob)
Returns true if this processor supports the given type of job. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.phleisch.app.itsucks.processing.DataProcessor |
|---|
getInfo, process, resumeAt |
| Field Detail |
|---|
protected DataProcessorChain mChain
| Constructor Detail |
|---|
public AbstractDataProcessor()
| Method Detail |
|---|
public abstract boolean supports(Job pJob)
DataProcessor
supports in interface DataProcessor
public void init()
throws ProcessingException
DataProcessor
init in interface DataProcessorProcessingExceptionpublic void finish()
DataProcessor
finish in interface DataProcessorpublic void abort()
DataProcessorfinish is also called.
abort in interface DataProcessorpublic void rollback()
DataProcessorfinish is also called.
rollback in interface DataProcessorpublic void setProcessorChain(DataProcessorChain pChain)
DataProcessor
setProcessorChain in interface DataProcessorpublic DataProcessorChain getProcessorChain()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||