* <p>
* @param event User registration event
*/
- public void afterRegistration (final @Observes UserRegisteredEvent event) {
+ public void afterRegistrationEvent (final @Observes UserRegisteredEvent event) {
// Trace message
- System.out.println(MessageFormat.format("UserIdValidator:afterRegistration: event={0} - CALLED!", event)); //NOI18N
+ System.out.println(MessageFormat.format("UserIdValidator:afterRegistrationEvent: event={0} - CALLED!", event)); //NOI18N
// event should not be null
if (null == event) {
User registeredUser = event.getUser();
// Debug message
- System.out.println(MessageFormat.format("UserIdValidator:afterRegistration: registeredUser={0}", registeredUser)); //NOI18N
+ System.out.println(MessageFormat.format("UserIdValidator:afterRegistrationEvent: registeredUser={0}", registeredUser)); //NOI18N
// Update cache
UserIdValidator.cachedStatus.add(registeredUser.getUserId());
// Trace message
- System.out.println("UserIdValidator:afterRegistration: EXIT!"); //NOI18N
+ System.out.println("UserIdValidator:afterRegistrationEvent: EXIT!"); //NOI18N
}
@Override