private void updateBundle() {
Date d = new Date(); // records the start time of this service run;
List<BundleJobBean> jobList = null;
// pause bundles as needed;
try {
jobList = jpaService.execute(new BundleJobsGetUnpausedJPAExecutor(-1));
if (jobList != null) {
for (BundleJobBean bundleJob : jobList) {
if ((bundleJob.getPauseTime() != null) && !bundleJob.getPauseTime().after(d)) {
new BundlePauseXCommand(bundleJob).call();
LOG.debug("Calling BundlePauseXCommand for bundle job = " + bundleJob.getId());