]> git.mxchange.org Git - jcoreee.git/commitdiff
Nope, no logging here. :-(
authorRoland Haeder <roland@mxchange.org>
Thu, 10 Sep 2015 06:43:59 +0000 (08:43 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 10 Sep 2015 06:43:59 +0000 (08:43 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

lib/jcore-ee-logger.jar
lib/jcore.jar
src/org/mxchange/jcoreee/BaseEeSystem.java
src/org/mxchange/jcoreee/validator/BaseObjectValidator.java

index 0b6d194d9b6f30825848d1fcb339b4521158b6fb..5ebf6d07bb973bde224c28c9e8403af3719390fe 100644 (file)
Binary files a/lib/jcore-ee-logger.jar and b/lib/jcore-ee-logger.jar differ
index 54ec8aa1e442410ca76ed01ee3d087eede4a0823..de27ca6829fa35a86410f5f03fb9631bbd5a801f 100644 (file)
Binary files a/lib/jcore.jar and b/lib/jcore.jar differ
index d44ffcb40781b552a0eff9c1c5df10cb8e7995a4..e2e8401797276f5cc17875ab9fdd3ab46a58a860 100644 (file)
@@ -17,9 +17,6 @@
 package org.mxchange.jcoreee;
 
 import java.util.ResourceBundle;
-import javax.ejb.EJB;
-import org.mxchange.jcoreeelogger.beans.local.logger.Log;
-import org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal;
 
 /**
  *
@@ -31,13 +28,6 @@ public class BaseEeSystem {
         */
        private ResourceBundle bundle;
 
-       /**
-        * Logger instance
-        */
-       @EJB
-       @Log
-       private LoggerBeanLocal logger;
-
        /**
         * Getter for message from given key
         *
@@ -49,15 +39,6 @@ public class BaseEeSystem {
                return this.getBundle().getString(key);
        }
 
-       /**
-        * Getter for local bean logger
-        *
-        * @return Local bean logger
-        */
-       protected LoggerBeanLocal getLogger () {
-               return this.logger;
-       }
-
        /**
         * Getter for bundle instance
         *
index 64daca07ee3c8d746cc18d178e5aa6fb1859f1dd..5d1afec9c21a5ed519d1570c6a0a7b232f68b7fa 100644 (file)
@@ -18,12 +18,15 @@ package org.mxchange.jcoreee.validator;
 
 import java.text.MessageFormat;
 import java.util.Arrays;
+import javax.ejb.EJB;
 import javax.faces.application.FacesMessage;
 import javax.faces.component.UIComponent;
 import javax.faces.context.FacesContext;
 import javax.faces.validator.Validator;
 import javax.faces.validator.ValidatorException;
 import org.mxchange.jcoreee.BaseEeSystem;
+import org.mxchange.jcoreeelogger.beans.local.logger.Log;
+import org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal;
 
 /**
  * A general object validation class. Please implement javax.faces.validator.Validator
@@ -34,6 +37,13 @@ import org.mxchange.jcoreee.BaseEeSystem;
  */
 public abstract class BaseObjectValidator extends BaseEeSystem implements Validator {
 
+       /**
+        * Logger instance
+        */
+       @EJB
+       @Log
+       private LoggerBeanLocal logger;
+
        /**
         * Needs to be implemented as the Validator interface needs to be implemented.
         *
@@ -113,4 +123,13 @@ public abstract class BaseObjectValidator extends BaseEeSystem implements Valida
                // Trace message
                this.getLogger().logTrace("EXIT!"); //NOI18N
        }
+
+       /**
+        * Getter for local bean logger
+        *
+        * @return Local bean logger
+        */
+       protected LoggerBeanLocal getLogger () {
+               return this.logger;
+       }
 }