Package pl.net.bluesoft.rnd.pt.ext.bpmnotifications.sessions

Examples of pl.net.bluesoft.rnd.pt.ext.bpmnotifications.sessions.DatabaseMailSessionProvider


      String providerName = ProcessToolContext.Util.getThreadProcessToolContext().getSetting(PROVIDER_TYPE);
     
      if(providerName == null)
      {
        logger.warning("Mail session provider type is not set, using default database provider");
        mailSessionProvider = new DatabaseMailSessionProvider();
      }
      else if(providerName.equals("database"))
      {
        logger.info("Mail session provider set to database");
        mailSessionProvider = new DatabaseMailSessionProvider();
      }
      else if(providerName.equals("jndi"))
      {
        logger.info("Mail session provider set to jndi resources");
        mailSessionProvider = new JndiMailSessionProvider();
View Full Code Here

TOP

Related Classes of pl.net.bluesoft.rnd.pt.ext.bpmnotifications.sessions.DatabaseMailSessionProvider

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.