From 0c3815bd0bfbc86dd8f0c0f9ece6356bef0c385a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 26 Jun 2017 23:04:19 +0200 Subject: [PATCH] renamed parameter as this is no email-specific queue JNDI name ;-) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- src/org/mxchange/jcoreee/bean/BaseBean.java | 8 ++++---- src/org/mxchange/jcoreee/database/BaseDatabaseBean.java | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/org/mxchange/jcoreee/bean/BaseBean.java b/src/org/mxchange/jcoreee/bean/BaseBean.java index a28b41e..ef7f11d 100644 --- a/src/org/mxchange/jcoreee/bean/BaseBean.java +++ b/src/org/mxchange/jcoreee/bean/BaseBean.java @@ -95,12 +95,12 @@ public abstract class BaseBean implements Serializable { } /** - * Constructor with queue factory JNDI and email-queue JNDI names + * Constructor with queue factory JNDI and queue JNDI names *

* @param factoryJndi JNDI name for queue factory - * @param emailQueueJndi JNDI name for email queue + * @param queueJndi JNDI name for email queue */ - protected BaseBean (final String factoryJndi, final String emailQueueJndi) { + protected BaseBean (final String factoryJndi, final String queueJndi) { // Call default constructor this(); @@ -113,7 +113,7 @@ public abstract class BaseBean implements Serializable { QueueConnectionFactory connectionFactory = (QueueConnectionFactory) context.lookup(factoryJndi); //NOI18N // Lookup queue - this.queue = (Queue) context.lookup(emailQueueJndi); //NOI18N + this.queue = (Queue) context.lookup(queueJndi); //NOI18N // Create connection this.connection = connectionFactory.createConnection(); diff --git a/src/org/mxchange/jcoreee/database/BaseDatabaseBean.java b/src/org/mxchange/jcoreee/database/BaseDatabaseBean.java index c6dab1a..69d3b9b 100644 --- a/src/org/mxchange/jcoreee/database/BaseDatabaseBean.java +++ b/src/org/mxchange/jcoreee/database/BaseDatabaseBean.java @@ -49,14 +49,14 @@ public abstract class BaseDatabaseBean extends BaseBean { } /** - * Constructor with queue factory JNDI and email-queue JNDI names + * Constructor with queue factory JNDI and queue JNDI names *

* @param factoryJndi JNDI name for queue factory - * @param emailQueueJndi JNDI name for email queue + * @param queueJndi JNDI name for email queue */ - protected BaseDatabaseBean (final String factoryJndi, final String emailQueueJndi) { + protected BaseDatabaseBean (final String factoryJndi, final String queueJndi) { // Call super constructor - super(factoryJndi, emailQueueJndi); + super(factoryJndi, queueJndi); } /** -- 2.39.5