Examples of NotificationsUpgrade


Examples of org.olat.core.util.notifications.NotificationsUpgrade

    String type = publisher.getType();
    if (notificationUpgrades == null) {
      throw new OLATRuntimeException("No notification handler configured in the spring configuration. Fix the bean config for " + this.getClass().getName(), null);
    }
   
    NotificationsUpgrade upgrade = notificationUpgrades.get(type);
    if(upgrade == null) {
      log.error("No upgrader for publisher: " + publisher.getType());
      return null;
    }
    return upgrade.ugrade(publisher);
  }
View Full Code Here

Examples of org.olat.core.util.notifications.NotificationsUpgrade

    String type = publisher.getType();
    if (notificationUpgrades == null) {
      log.error("No upgrader");
    }
   
    NotificationsUpgrade upgrade = notificationUpgrades.get(type);
    if(upgrade == null) {
      log.error("No upgrader for publisher: " + publisher.getType());
      return null;
    }
    log.audit("upgrading..."+upgrade.getClass().getName());
    return upgrade.ugrade(publisher);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.