|
xmlBlaster 2.1.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface I_ChangeDetector
This interface hides the plugin which checks if the data has changed.
There are many ways to detect DB changes, we provide a plugin for MD5 and timestamp checking
| Method Summary | |
|---|---|
int |
checkAgain(java.util.Map attrMap)
Check the observed data for changes. |
void |
init(I_Info info,
I_ChangeListener changeListener,
I_DataConverter dataConverter)
Needs to be called after construction. |
void |
shutdown()
Cleanup resources. |
| Method Detail |
|---|
void init(I_Info info,
I_ChangeListener changeListener,
I_DataConverter dataConverter)
throws java.lang.Exception
info - The configurationchangeListener - The listener to notify if something has changeddataConverter - If not null the data will be transformed immediately during change detection
java.lang.Exception
int checkAgain(java.util.Map attrMap)
throws java.lang.Exception
attrMap - This map can be null. The event source can transport
some specific information to help the changeDetector doing its work
efficiently.
java.lang.Exception - Can be of any type
void shutdown()
throws java.lang.Exception
java.lang.Exception - Can be of any type
|
xmlBlaster 2.1.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||