try {
Iterator<SyncProcess> procs = db.getSyncProcesses();
while (procs.hasNext()) {
SyncProcess proc = procs.next();
try {
proc.unmarshall();
if (proc.isPullSynchronization()) {
continue;
}
proc.getSyncTarget().unmarshall();
proc.getRemoteApp().unmarshall();