Konto konto = u.getKonto();
Class<SynchronizeJobSepaLastschrift> type = SynchronizeJobSepaLastschrift.class;
BeanService bs = Application.getBootLoader().getBootable(BeanService.class);
SynchronizeEngine engine = bs.get(SynchronizeEngine.class);
SynchronizeBackend backend = engine.getBackend(type,konto);
SynchronizeJob job = backend.create(type,konto);
job.setContext(SynchronizeJob.CTX_ENTITY,u);
backend.execute(Arrays.asList(job));
}
catch (RemoteException e)
{
Logger.error("error while executing transfer",e);
Application.getMessagingFactory().sendMessage(new StatusBarMessage(i18n.tr("Fehler beim Ausf�hren des Auftrages"),StatusBarMessage.TYPE_ERROR));