From ef6fb2a4e8e9dd54d2d347c1808450ee24bd5590 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 10 Sep 2015 08:43:59 +0200 Subject: [PATCH] =?utf8?q?Nope,=20no=20logging=20here.=20:-(=20Signed-off-?= =?utf8?q?by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lib/jcore-ee-logger.jar | Bin 8006 -> 8032 bytes lib/jcore.jar | Bin 28001 -> 28103 bytes src/org/mxchange/jcoreee/BaseEeSystem.java | 19 ------------------ .../validator/BaseObjectValidator.java | 19 ++++++++++++++++++ 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/lib/jcore-ee-logger.jar b/lib/jcore-ee-logger.jar index 0b6d194d9b6f30825848d1fcb339b4521158b6fb..5ebf6d07bb973bde224c28c9e8403af3719390fe 100644 GIT binary patch delta 968 zcmaJ=K}-`t6rJ7eZfVUZ)PhO3EiEA_DcRD1v`WfK+dzXTG{l29TIsr}*>*`=378nu zc=AR&Hxo2bZYD;Z>|JNUtU4q-ZES7m3zh1O$rM>t^O>A2lSvMVQTSF=iig z31&ZYlNj=;y9N1Fh(jnuM)*q{Cd>RF?9ccS*bn$Z8ry9?pYMj2Eh@QudEQ*qO3O;Y z%xR-NS;Od2u{}0Gvt>B7beh_KRDb$QK!`5r9~q{8{?;Iw;e%En`4t6|9lQ)iv|>&xL0ja$6avsoX)FO5TWla{7R#ogLBrtu0|fVqsq2hHfwQJr@fq5pW{mb! zO4)f0zLtcn%Ed+*nr_ti%VNcE=Jng9Y$b0NkI!U%#Tw@6_}8~=-`m*Xl_SD;(2KzS z*~1kPA-dw^y)8{}XME5^l|MVWId(QEzR>E}- zk$sQDN8360u~~lz{~BHDQ7y1*)m<9^BV@wc#l|-0mHBN43(YufB*Ctg%V5fPsObV4_nzzlEMbyqTG9W?o5Z zQC?!s#O3PDKs6ID%7dxT8X#)29HSYS4rjCh)6*E8!1QfKPq2wGao*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UUlT@wAi2DgUIjNXpBHFz{^k>q;>whCCjfA+v6pkD$M4G9ag))>+TC(WhB3xjR!nVHV&R0453R=?O zb1z|k^0Q+OTawY(`4Y+GTvjr!Vkz5@xp<)=HzFXbaJXJkZ(f)z9&$qbH6i@ z^QU2+K(Ws0xkEBbWKtJMPN|KzTo%fT<-9))i*?>Wg@z?MZ(yl_j|TFi>A9xA)8}jV zSgQn<(Y?(tdY5B`0#R04Rkf(xB~Wef0a>Xas=IA#Th={Wx_Yy!y83!L+N-+m-Xc(I zpbo33vt@SNod#B;-r(+DX`lhghHP}9q2JF|BsWF#!AudHJa zEe2ZAM&Gs+(^EBG`XaN*f4KE+Me$PWy1x#}IyS?FM8xo2la5-x*ps;iG1$lVlA9~x z;UQ0TfRf59S?3wB{D+T>RbY-ly29Oe15IDDi410{Tt*F9aI#t~ucwZ_dI65dA*^R% zwfHe@%xg-=@f^akK%8m(HmLG?P>^l1bEKmV0dcyn8Oqth_=(xjdnA$EgPL`Tnv+QDY7fD-^)xIo5>^> z-Pq_drQ*As>XBHPf2!|_HN9*v`rxZ*_8><}ke6jH7WB}i33FFi_gtdsm`g#sk`l<% z9dJIs+o?X9Ji#(wU-T0ujk-;etU+t0jjngw<7GyVrk_ih&J8U`@V>gq)f0HkHTO8x zx6(}YgFS_2>{pmHnloWBivEz}lsh%|5cFgT+QZ*+O@*5;nBBdBfRFV$)qdY3>senI y9q0|%n);v0vpMyh8jh%*P;gTDCcEi)^4jF9vuH||OY}_Rr0|(d&XCddlKWrpDMvT} diff --git a/src/org/mxchange/jcoreee/BaseEeSystem.java b/src/org/mxchange/jcoreee/BaseEeSystem.java index d44ffcb..e2e8401 100644 --- a/src/org/mxchange/jcoreee/BaseEeSystem.java +++ b/src/org/mxchange/jcoreee/BaseEeSystem.java @@ -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 * diff --git a/src/org/mxchange/jcoreee/validator/BaseObjectValidator.java b/src/org/mxchange/jcoreee/validator/BaseObjectValidator.java index 64daca0..5d1afec 100644 --- a/src/org/mxchange/jcoreee/validator/BaseObjectValidator.java +++ b/src/org/mxchange/jcoreee/validator/BaseObjectValidator.java @@ -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; + } } -- 2.39.5