}
/**
- * Constructor with queue factory JNDI and email-queue JNDI names
+ * Constructor with queue factory JNDI and queue JNDI names
* <p>
* @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();
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();
}
/**
- * Constructor with queue factory JNDI and email-queue JNDI names
+ * Constructor with queue factory JNDI and queue JNDI names
* <p>
* @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);
}
/**