]> git.mxchange.org Git - jjobs-war.git/commitdiff
updated copyright + author
authorRoland Haeder <roland@mxchange.org>
Sat, 6 Aug 2016 20:27:49 +0000 (22:27 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 7 Aug 2016 10:34:47 +0000 (12:34 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jjobs/beans/features/JobsFeatureWebApplicationBean.java
src/java/org/mxchange/jjobs/beans/features/JobsFeaturesWebApplicationController.java [new file with mode: 0644]
src/java/org/mxchange/jjobs/beans/user/password/JobsUserPasswordWebRequestBean.java
src/java/org/mxchange/jjobs/beans/user/password/JobsUserPasswordWebRequestController.java

index 6727e653c6783426118ac1ceba85b5be0049bfd8..67807558c10735426989d1784ca456c20cbcff55 100644 (file)
@@ -23,7 +23,7 @@ import org.mxchange.jjobs.beans.BaseJobsController;
 /**
  * A feature bean
  * <p>
- * @author Roland Haeder<rhaeder@cho-time.de>
+ * @author Roland Haeder<roland@mxchange.org>
  */
 @Named ("featureController")
 @ApplicationScoped
diff --git a/src/java/org/mxchange/jjobs/beans/features/JobsFeaturesWebApplicationController.java b/src/java/org/mxchange/jjobs/beans/features/JobsFeaturesWebApplicationController.java
new file mode 100644 (file)
index 0000000..54107e9
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+ * Copyright (C) 2016 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero 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 Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jjobs.beans.features;
+
+import java.io.Serializable;
+import javax.ejb.Local;
+
+/**
+ * An interface for country beans
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+@Local
+public interface JobsFeaturesWebApplicationController extends Serializable {
+
+       /**
+        * Checks if given feature is enabled.
+        * <p>
+        * @param feature Feature to be checked
+        * <p>
+        * @return Whether given feature is enabled
+        */
+       boolean isFeatureEnabled (final String feature);
+
+}
index eae351584ab26984aafe2967db6bf467e14c93c8..2dd4f5cb38ac28ed36701bab46592bf93d804986 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 Cho-Time GmbH
+ * Copyright (C) 2016 Roland Haeder
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU Affero General Public License as
@@ -27,7 +27,6 @@ import javax.naming.Context;
 import javax.naming.InitialContext;
 import javax.naming.NamingException;
 import org.mxchange.addressbook.beans.BaseAddressbookController;
-import org.mxchange.addressbook.beans.features.AddressbookFeaturesWebApplicationController;
 import org.mxchange.addressbook.beans.login.AddressbookUserLoginWebSessionController;
 import org.mxchange.jusercore.events.user.password_change.UpdatedUserPasswordEvent;
 import org.mxchange.jusercore.events.user.password_change.UserUpdatedPasswordEvent;
@@ -39,11 +38,12 @@ import org.mxchange.jusercore.model.user.User;
 import org.mxchange.jusercore.model.user.UserSessionBeanRemote;
 import org.mxchange.jusercore.model.user.UserUtils;
 import org.mxchange.jusercore.model.user.password_history.PasswordHistory;
+import org.mxchange.jjobs.beans.features.JobsFeaturesWebApplicationController;
 
 /**
  * A user password (change) bean (controller)
  * <p>
- * @author Roland Haeder<rhaeder@cho-time.de>
+ * @author Roland Haeder<roland@mxchange.org>
  */
 @Named ("userPasswordController")
 @RequestScoped
@@ -58,7 +58,7 @@ public class JobsUserPasswordWebRequestBean extends BaseAddressbookController im
         * Features controller
         */
        @Inject
-       private AddressbookFeaturesWebApplicationController featureController;
+       private JobsFeaturesWebApplicationController featureController;
 
        /**
         * Remote user bean
index 73767ba4b288129f6799b23b86798be7bec1c50f..3104b9fbff927fce4d37eade0b46751f03c10191 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 Cho-Time GmbH
+ * Copyright (C) 2016 Roland Haeder
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU Affero General Public License as
@@ -22,7 +22,7 @@ import javax.ejb.Local;
 /**
  * An interface for user beans
  * <p>
- * @author Roland Haeder<rhaeder@cho-time.de>
+ * @author Roland Haeder<roland@mxchange.org>
  */
 @Local
 public interface JobsUserPasswordWebRequestController extends Serializable {