SynchronizationContext synchCtx =
SynchronizationFactory.createSynchronizationContext(
event.getConfigContext());
// applications synchronization manager
ApplicationsMgr appSynchMgr = synchCtx.getApplicationsMgr();
// synchronizes an application
appSynchMgr.synchronize(event.getJ2EEComponentName());
} catch (SynchronizationException ex) {
throw new AdminEventListenerException(ex);
}
}