Package org.olat.core.util.notifications

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


    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

Related Classes of org.olat.core.util.notifications.NotificationsUpgrade

Copyright © 2018 www.massapicom. 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.