]> 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 31dfe760d7bb08bcb71cede6f9d19b5fc1efd66c..e6b54844b0cfa66b76c31a15518339195979a59e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 Roland Häder
+ * 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
@@ -16,6 +16,7 @@
  */
 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;
@@ -26,7 +27,7 @@ import org.mxchange.jusercore.model.user.profilemodes.ProfileMode;
  * <p>
  * @author Roland Häder<roland@mxchange.org>
  */
-@Named ("profileMode")
+@Named ("profileModeController")
 @ApplicationScoped
 public class JobsProfileModeWebApplicationBean extends BaseJobsController implements JobsProfileModeWebApplicationController {
 
@@ -39,6 +40,8 @@ public class JobsProfileModeWebApplicationBean extends BaseJobsController implem
         * Default constructor
         */
        public JobsProfileModeWebApplicationBean () {
+               // Call super constructor
+               super();
        }
 
        @Override
@@ -46,4 +49,12 @@ public class JobsProfileModeWebApplicationBean extends BaseJobsController implem
                // Return it
                return ProfileMode.values();
        }
+
+       /**
+        * Post-construction method
+        */
+       @PostConstruct
+       public void init () {
+       }
+
 }