|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileProcessStrategy
Represents a strategy for marking that a file is processed.
| Method Summary | |
|---|---|
boolean |
begin(FileEndpoint endpoint,
FileExchange exchange,
File file)
Called when work is about to begin on this file. |
void |
commit(FileEndpoint endpoint,
FileExchange exchange,
File file)
Releases any file locks and possibly deletes or moves the file after successful processing |
void |
rollback(FileEndpoint endpoint,
FileExchange exchange,
File file)
Releases any file locks and possibly deletes or moves the file after unsuccessful processing |
| Method Detail |
|---|
boolean begin(FileEndpoint endpoint,
FileExchange exchange,
File file)
throws Exception
endpoint - the endpointexchange - the exchangefile - the file
Exception - can be thrown in case of errors
void commit(FileEndpoint endpoint,
FileExchange exchange,
File file)
throws Exception
endpoint - the endpointexchange - the exchangefile - the file
Exception - can be thrown in case of errors
void rollback(FileEndpoint endpoint,
FileExchange exchange,
File file)
endpoint - the endpointexchange - the exchangefile - the file
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||