From: Roland Haeder Date: Fri, 1 Apr 2016 18:22:40 +0000 (+0200) Subject: introduced jjobs-mailer which is a mailer class for the jjobs project X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aab5a5f050dfb815734090ccb03c50e04aa50813;p=jjobs-ejb.git introduced jjobs-mailer which is a mailer class for the jjobs project --- diff --git a/lib/jjobs-mailer.jar b/lib/jjobs-mailer.jar new file mode 100644 index 0000000..225f7cd Binary files /dev/null and b/lib/jjobs-mailer.jar differ diff --git a/lib/jmailer-ee.jar b/lib/jmailer-ee.jar index ec343a7..6874cfe 100644 Binary files a/lib/jmailer-ee.jar and b/lib/jmailer-ee.jar differ diff --git a/nbproject/build-impl.xml b/nbproject/build-impl.xml index 29638bc..c0877aa 100644 --- a/nbproject/build-impl.xml +++ b/nbproject/build-impl.xml @@ -837,6 +837,7 @@ exists or setup the property manually. For example like this: + @@ -851,9 +852,10 @@ exists or setup the property manually. For example like this: + - + @@ -865,7 +867,8 @@ exists or setup the property manually. For example like this: - + + @@ -880,6 +883,7 @@ exists or setup the property manually. For example like this: + diff --git a/nbproject/genfiles.properties b/nbproject/genfiles.properties index 9d653d1..5541161 100644 --- a/nbproject/genfiles.properties +++ b/nbproject/genfiles.properties @@ -1,8 +1,8 @@ -build.xml.data.CRC32=8210263f +build.xml.data.CRC32=ed8a7fc7 build.xml.script.CRC32=9c0f08a9 build.xml.stylesheet.CRC32=5910fda3@1.55.1 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. -nbproject/build-impl.xml.data.CRC32=8210263f -nbproject/build-impl.xml.script.CRC32=1069361c +nbproject/build-impl.xml.data.CRC32=ed8a7fc7 +nbproject/build-impl.xml.script.CRC32=a9ed6127 nbproject/build-impl.xml.stylesheet.CRC32=6096d939@1.55.1 diff --git a/nbproject/project.properties b/nbproject/project.properties index 9ff211d..ac17178 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -27,6 +27,7 @@ file.reference.jcore-logger-lib.jar=lib/jcore-logger-lib.jar file.reference.jcore.jar=lib/jcore.jar file.reference.jcoreee.jar=lib/jcoreee.jar file.reference.jcountry-core.jar=lib/jcountry-core.jar +file.reference.jjobs-mailer.jar=lib/jjobs-mailer.jar file.reference.jletter-lib.jar=lib/jletter-lib.jar file.reference.jmailer-ee.jar=lib/jmailer-ee.jar file.reference.jphone-core.jar=lib/jphone-core.jar @@ -58,6 +59,7 @@ javac.classpath=\ ${file.reference.juser-lib.jar}:\ ${file.reference.jletter-lib.jar}:\ ${file.reference.jmailer-ee.jar}:\ + ${file.reference.jjobs-mailer.jar}:\ ${reference.jjobs-lib.jar} javac.compilerargs=-Xlint:unchecked -Xlint:deprecation javac.debug=true @@ -102,6 +104,7 @@ source.reference.jcore-logger-lib.jar=../jcore-logger-lib/src/ source.reference.jcore.jar=../jcore/src/ source.reference.jcoreee.jar=../jcoreee/src/ source.reference.jcountry-core.jar=../jcountry-core/src/ +source.reference.jjobs-mailer.jar=../jjobs-mailer/src/ source.reference.jletter-lib.jar=../jletter-lib/src/ source.reference.jmailer-ee.jar=../jmailer-ee/src/ source.reference.jphone-core.jar=../jphone-core/src/ diff --git a/nbproject/project.xml b/nbproject/project.xml index 4713c99..3a57afd 100644 --- a/nbproject/project.xml +++ b/nbproject/project.xml @@ -16,6 +16,7 @@ file.reference.juser-lib.jar file.reference.jletter-lib.jar file.reference.jmailer-ee.jar + file.reference.jjobs-mailer.jar reference.jjobs-lib.jar diff --git a/src/java/org/mxchange/jusercore/model/email_address/JobsEmailChangeSessionBean.java b/src/java/org/mxchange/jusercore/model/email_address/JobsEmailChangeSessionBean.java index 1848a4d..608a61b 100644 --- a/src/java/org/mxchange/jusercore/model/email_address/JobsEmailChangeSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/email_address/JobsEmailChangeSessionBean.java @@ -37,8 +37,8 @@ import javax.naming.NamingException; import javax.persistence.NoResultException; import javax.persistence.Query; import org.mxchange.jcoreee.database.BaseDatabaseBean; -import org.mxchange.jmailee.model.delivery.DeliverableEmail; -import org.mxchange.jmailee.model.delivery.Mailer; +import org.mxchange.jjobsmailer.model.delivery.DeliverableJobsEmail; +import org.mxchange.jjobsmailer.model.delivery.JobsMailer; import org.mxchange.jusercore.model.user.UserSessionBeanRemote; import org.mxchange.jusercore.model.user.UserUtils; @@ -147,7 +147,7 @@ public class JobsEmailChangeSessionBean extends BaseDatabaseBean implements Emai // Persist it //this.getEntityManager().persist(emailChange); // Get mailer instance - DeliverableEmail mailer = new Mailer(); + DeliverableJobsEmail mailer = new JobsMailer(); // Send out email change mailer.sendEmailChangeMail(this.messageProducer, this.message, emailChange);