${file.reference.jcore.jar}:\
${file.reference.jcoreee.jar}:\
${file.reference.jcontacts-core.jar}:\
- ${libs.javaee-api-7.0.classpath}:\
- ${file.reference.commons-codec-1.10.jar}
+ ${file.reference.commons-codec-1.10.jar}:\
+ ${libs.javaee-api-7.0.classpath}
# Space-separated list of extra javac options
javac.compilerargs=-Xlint:unchecked -Xlint:deprecation
javac.deprecation=true
--- /dev/null
+/*
+ * Copyright (C) 2015 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jusercore.events.registration;
+
+import org.mxchange.jusercore.model.user.User;
+
+/**
+ * An event, fireed if a new user has registered
+ * <p>
+ * @author Roland Haeder
+ */
+public class RegisteredUserEvent implements UserRegisteredEvent {
+
+ /**
+ * Serial number
+ */
+ private static final long serialVersionUID = 186_956_974_127_691L;
+
+ /**
+ * Newly registered user;
+ */
+ private final User user;
+
+ /**
+ * Constructor with newly registered user
+ * <p>
+ * @param user Newly registered user
+ */
+ public RegisteredUserEvent (final User user) {
+ this.user = user;
+ }
+
+ /**
+ * Getter for user instance
+ * <p>
+ * @return User instance
+ */
+ @Override
+ public User getUser () {
+ return this.user;
+ }
+}
--- /dev/null
+/*
+ * Copyright (C) 2015 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jusercore.events.registration;
+
+import java.io.Serializable;
+import org.mxchange.jusercore.model.user.User;
+
+/**
+ * An event interface, fireed if a new user has registered
+ * <p>
+ * @author Roland Haeder
+ */
+public interface UserRegisteredEvent extends Serializable {
+
+ /**
+ * Getter for user instance
+ * <p>
+ * @return User instance
+ */
+ User getUser ();
+}