From 53ac14e9d3e6ed61c1f80ff5cf53680f12928196 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 8 Jul 2017 20:12:23 +0200 Subject: [PATCH] changed to jjobs MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- build.xml | 4 ++-- nbproject/build-impl.xml | 20 +++++++++---------- nbproject/project.properties | 14 ++++++------- nbproject/project.xml | 6 +++--- .../JobsEmailDeliveryMessageBean.java} | 12 +++++------ .../delivery/JobsMailerSingletonBean.java} | 8 ++++---- 6 files changed, 32 insertions(+), 32 deletions(-) rename src/java/org/mxchange/{addressbook/mailer/model/delivery/AddressbookEmailDeliveryMessageBean.java => jjobs/mailer/model/delivery/JobsEmailDeliveryMessageBean.java} (92%) rename src/java/org/mxchange/{addressbook/mailer/model/delivery/AddressbookMailerSingletonBean.java => jjobs/mailer/model/delivery/JobsMailerSingletonBean.java} (95%) diff --git a/build.xml b/build.xml index 9ec25cf..bae9027 100644 --- a/build.xml +++ b/build.xml @@ -7,8 +7,8 @@ - - Builds, tests, and runs the project addressbook-mailer-ejb. + + Builds, tests, and runs the project jjobs-mailer-ejb. - + @@ -433,7 +433,7 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f - + @@ -585,7 +585,7 @@ or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties f - + @@ -806,7 +806,7 @@ exists or setup the property manually. For example like this: COMPILATION SECTION --> - + @@ -814,7 +814,7 @@ exists or setup the property manually. For example like this: - + @@ -836,7 +836,7 @@ exists or setup the property manually. For example like this: - + @@ -844,7 +844,7 @@ exists or setup the property manually. For example like this: - + @@ -852,7 +852,7 @@ exists or setup the property manually. For example like this: - + @@ -861,7 +861,7 @@ exists or setup the property manually. For example like this: - + @@ -1246,7 +1246,7 @@ exists or setup the property manually. For example like this: CLEANUP SECTION --> - + diff --git a/nbproject/project.properties b/nbproject/project.properties index 7966925..2e22b0e 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -21,7 +21,7 @@ dist.jar=${dist.dir}/${jar.name} dist.javadoc.dir=${dist.dir}/javadoc endorsed.classpath= excludes= -file.reference.addressbook-mailer.jar=lib/addressbook-mailer.jar +file.reference.jjobs-mailer.jar=lib/jjobs-mailer.jar file.reference.cdi-api.jar=lib/cdi-api.jar file.reference.jcore-logger-lib.jar=lib/jcore-logger-lib.jar file.reference.jcoreee.jar=lib/jcoreee.jar @@ -38,14 +38,14 @@ j2ee.platform.wsimport.classpath=${j2ee.server.home}/modules/webservices-osgi.ja j2ee.platform.wsit.classpath= j2ee.server.type=gfv3ee6 jar.compress=false -jar.name=addressbook-mailer-ejb.jar +jar.name=jjobs-mailer-ejb.jar jars.in.ejbjar=false javac.classpath=\ ${file.reference.jcoreee.jar}:\ ${file.reference.jcore-logger-lib.jar}:\ ${file.reference.jmailer-ee.jar}:\ ${file.reference.cdi-api.jar}:\ - ${reference.addressbook-mailer-lib.jar}:\ + ${reference.jjobs-mailer-lib.jar}:\ ${libs.velocity.classpath} javac.compilerargs=-Xlint:unchecked -Xlint:deprecation javac.debug=true @@ -69,15 +69,15 @@ javadoc.private=true javadoc.splitindex=true javadoc.use=true javadoc.version=true -javadoc.windowtitle=addressbook EJBs +javadoc.windowtitle=jjobs EJBs meta.inf=${source.root}/conf meta.inf.excludes=sun-cmp-mappings.xml platform.active=default_platform -project.addressbook-mailer-lib=../addressbook-mailer-lib +project.jjobs-mailer-lib=../jjobs-mailer-lib project.juser-core=../juser-core project.license=agpl30 project.serviceLocator.class=de.chotime.landingpage.mailer.model.delivery.LandingMailer -reference.addressbook-mailer-lib.jar=${project.addressbook-mailer-lib}/dist/addressbook-mailer-lib.jar +reference.jjobs-mailer-lib.jar=${project.jjobs-mailer-lib}/dist/jjobs-mailer-lib.jar resource.dir=setup run.test.classpath=\ ${javac.test.classpath}:\ @@ -86,7 +86,7 @@ run.test.classpath=\ # (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value): runmain.jvmargs= source.encoding=UTF-8 -source.reference.addressbook-mailer.jar=../addressbook-mailer/src/ +source.reference.jjobs-mailer.jar=../jjobs-mailer/src/ source.reference.jcore-logger-lib.jar=../jcore-logger-lib/src/ source.reference.jcoreee.jar=../jcoreee/src/ source.reference.jmailer-ee.jar=../jmailer-ee/src/ diff --git a/nbproject/project.xml b/nbproject/project.xml index 0ee8b8e..b610c49 100644 --- a/nbproject/project.xml +++ b/nbproject/project.xml @@ -3,13 +3,13 @@ org.netbeans.modules.j2ee.ejbjarproject - addressbook-mailer-ejb + jjobs-mailer-ejb 1.6.5 file.reference.jcoreee.jar file.reference.jcore-logger-lib.jar file.reference.jmailer-ee.jar file.reference.cdi-api.jar - reference.addressbook-mailer-lib.jar + reference.jjobs-mailer-lib.jar libs.velocity.classpath @@ -23,7 +23,7 @@ - addressbook-mailer-lib + jjobs-mailer-lib jar jar diff --git a/src/java/org/mxchange/addressbook/mailer/model/delivery/AddressbookEmailDeliveryMessageBean.java b/src/java/org/mxchange/jjobs/mailer/model/delivery/JobsEmailDeliveryMessageBean.java similarity index 92% rename from src/java/org/mxchange/addressbook/mailer/model/delivery/AddressbookEmailDeliveryMessageBean.java rename to src/java/org/mxchange/jjobs/mailer/model/delivery/JobsEmailDeliveryMessageBean.java index 31b6e0a..dd2a976 100644 --- a/src/java/org/mxchange/addressbook/mailer/model/delivery/AddressbookEmailDeliveryMessageBean.java +++ b/src/java/org/mxchange/jjobs/mailer/model/delivery/JobsEmailDeliveryMessageBean.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.mailer.model.delivery; +package org.mxchange.jjobs.mailer.model.delivery; import java.io.Serializable; import java.text.MessageFormat; @@ -36,13 +36,13 @@ import org.mxchange.jmailee.model.delivery.wrapper.WrapableEmailDelivery; * @author Roland Häder */ @MessageDriven ( - name = "addressbookEmailDelivery", + name = "jjobsEmailDelivery", description = "A message bean for email delivery", activationConfig = { - @ActivationConfigProperty (propertyName = "destinationLookup", propertyValue = "jms/addressbook-email-queue"), + @ActivationConfigProperty (propertyName = "destinationLookup", propertyValue = "jms/jjobs-email-queue"), @ActivationConfigProperty (propertyName = "destinationType", propertyValue = "javax.jms.Queue") }) -public class AddressbookEmailDeliveryMessageBean extends BaseDatabaseBean implements MessageListener { +public class JobsEmailDeliveryMessageBean extends BaseDatabaseBean implements MessageListener { /** * Serial number @@ -53,14 +53,14 @@ public class AddressbookEmailDeliveryMessageBean extends BaseDatabaseBean implem * Mailer instance */ @EJB - private DeliverableAddressbookEmailLocal mailerBean; + private DeliverableJobsEmailLocal mailerBean; /** * Default constructor *

* @throws javax.naming.NamingException If a JNDI name could not be found */ - public AddressbookEmailDeliveryMessageBean () throws NamingException { + public JobsEmailDeliveryMessageBean () throws NamingException { // Call super constructor super(); } diff --git a/src/java/org/mxchange/addressbook/mailer/model/delivery/AddressbookMailerSingletonBean.java b/src/java/org/mxchange/jjobs/mailer/model/delivery/JobsMailerSingletonBean.java similarity index 95% rename from src/java/org/mxchange/addressbook/mailer/model/delivery/AddressbookMailerSingletonBean.java rename to src/java/org/mxchange/jjobs/mailer/model/delivery/JobsMailerSingletonBean.java index 895fbcd..b1ec48b 100644 --- a/src/java/org/mxchange/addressbook/mailer/model/delivery/AddressbookMailerSingletonBean.java +++ b/src/java/org/mxchange/jjobs/mailer/model/delivery/JobsMailerSingletonBean.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.mailer.model.delivery; +package org.mxchange.jjobs.mailer.model.delivery; import java.text.MessageFormat; import java.util.Map; @@ -36,7 +36,7 @@ import org.mxchange.jmailee.model.delivery.wrapper.WrapableEmailDelivery; * @author Roland Häder */ @Singleton -public class AddressbookMailerSingletonBean extends BaseMailerBean implements DeliverableAddressbookEmailLocal { +public class JobsMailerSingletonBean extends BaseMailerBean implements DeliverableJobsEmailLocal { /** * Serial number @@ -51,14 +51,14 @@ public class AddressbookMailerSingletonBean extends BaseMailerBean implements De /** * Email session */ - @Resource (name = "addressbookSmtpSession", description = "A Java Mail session") + @Resource (name = "jjobsSmtpSession", description = "A Java Mail session") private Session mailSession; /** * Default constructor *

*/ - public AddressbookMailerSingletonBean () { + public JobsMailerSingletonBean () { } /** -- 2.39.5