/*
- * Copyright (C) 2016 Roland Haeder
+ * Copyright (C) 2016, 2017 Roland Häder
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
import org.mxchange.jusercore.model.user.UserUtils;
/**
- * A session bean for user registration
+ * A session-scoped bean for user registration
* <p>
- * @author Roland Haeder<roland@mxchange.org>
+ * @author Roland Häder<roland@mxchange.org>
*/
@Stateless (name = "register", description = "A bean handling the user registration")
public class AddressbookUserRegistrationSessionBean extends BaseAddressbookDatabaseBean implements UserRegistrationSessionBeanRemote {
@EJB
private UserSessionBeanRemote userBean;
+ /**
+ * Default constructor
+ */
+ public AddressbookUserRegistrationSessionBean () {
+ // Call super constructor
+ super();
+ }
+
@Override
public String generateConfirmationKey (final User user) {
// Trace message
}
// Send email
- // TODO: Internationlize the subject line somehow
+ // @TODO: Internationlize the subject line somehow
this.sendEmail("Registration", "registration", emailAddress, addedUser, baseUrl); //NOI18N
// Trace message