]> git.mxchange.org Git - jjobs-war.git/blobdiff - src/java/org/mxchange/jjobs/beans/profilemode/JobsProfileModeWebApplicationBean.java
Please cherry-pick:
[jjobs-war.git] / src / java / org / mxchange / jjobs / beans / profilemode / JobsProfileModeWebApplicationBean.java
index c5b8926d04d007bf3be9e89af68fa84f6a6276a9..e6b54844b0cfa66b76c31a15518339195979a59e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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
  */
 package org.mxchange.jjobs.beans.profilemode;
 
+import javax.annotation.PostConstruct;
 import javax.enterprise.context.ApplicationScoped;
 import javax.inject.Named;
+import org.mxchange.jjobs.beans.BaseJobsController;
 import org.mxchange.jusercore.model.user.profilemodes.ProfileMode;
 
 /**
  * A profile mode bean
  * <p>
- * @author Roland Haeder<roland@mxchange.org>
+ * @author Roland Häder<roland@mxchange.org>
  */
-@Named ("profileMode")
+@Named ("profileModeController")
 @ApplicationScoped
-public class JobsProfileModeWebApplicationBean implements JobsProfileModeWebApplicationController {
+public class JobsProfileModeWebApplicationBean extends BaseJobsController implements JobsProfileModeWebApplicationController {
 
        /**
         * Serial number
@@ -38,6 +40,8 @@ public class JobsProfileModeWebApplicationBean implements JobsProfileModeWebAppl
         * Default constructor
         */
        public JobsProfileModeWebApplicationBean () {
+               // Call super constructor
+               super();
        }
 
        @Override
@@ -45,4 +49,12 @@ public class JobsProfileModeWebApplicationBean implements JobsProfileModeWebAppl
                // Return it
                return ProfileMode.values();
        }
+
+       /**
+        * Post-construction method
+        */
+       @PostConstruct
+       public void init () {
+       }
+
 }