Listeners for syncgateway/couchbaseserver from java application

Hi All,
Do we have any way, where we can listen syncgateway/couchbaseserver events from java application.

Scenario : We are running with case, where we need to catch the data(documents), which is being pushed by couchbase lite and do some validations and update in some where else ( like RDBMS or file system ), can you please suggest me the way, your help would be highly appreciated and thanks for your time

Hi All,
Can you please suggest me the way, your help would be highly appreciated and thanks for your time

This might help you.
FYI

Atom_yang, Thanks for your reply, unfortunately not able to open the link, can you please post again, your help would be highly appreciated, thanks for your time.

http://developer.couchbase.com/documentation/mobile/1.2/develop/guides/sync-gateway/server-integration/index.html
FYI