[jboss-cvs] jboss-seam/src/main/org/jboss/seam/core ...
Norman Richards
norman.richards at jboss.com
Fri Dec 15 21:58:10 EST 2006
User: nrichards
Date: 06/12/15 21:58:10
Modified: src/main/org/jboss/seam/core Ejb.java
Events.java Exceptions.java Interpolator.java
Jbpm.java ManagedHibernateSession.java
ManagedJbpmContext.java
ManagedPersistenceContext.java Manager.java
Pageflow.java Pages.java PojoCache.java
ResourceBundle.java
Log:
update logging
Revision Changes Path
1.20 +4 -4 jboss-seam/src/main/org/jboss/seam/core/Ejb.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Ejb.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Ejb.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- Ejb.java 5 Dec 2006 19:37:02 -0000 1.19
+++ Ejb.java 16 Dec 2006 02:58:10 -0000 1.20
@@ -1,11 +1,11 @@
-//$Id: Ejb.java,v 1.19 2006/12/05 19:37:02 gavin Exp $
+//$Id: Ejb.java,v 1.20 2006/12/16 02:58:10 nrichards Exp $
package org.jboss.seam.core;
import static org.jboss.seam.InterceptionType.NEVER;
import static org.jboss.seam.annotations.Install.BUILT_IN;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
+import org.jboss.seam.log.LogProvider;
+import org.jboss.seam.log.Logging;
import org.jboss.ejb3.embedded.EJB3StandaloneBootstrap;
import org.jboss.ejb3.embedded.EJB3StandaloneDeployer;
import org.jboss.seam.ScopeType;
@@ -30,7 +30,7 @@
@Install(value=false, precedence=BUILT_IN)
public class Ejb
{
- private static final Log log = LogFactory.getLog(Ejb.class);
+ private static final LogProvider log = Logging.getLogProvider(Ejb.class);
private EJB3StandaloneDeployer deployer;
private boolean started;
1.14 +3 -3 jboss-seam/src/main/org/jboss/seam/core/Events.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Events.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Events.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- Events.java 24 Nov 2006 23:15:17 -0000 1.13
+++ Events.java 16 Dec 2006 02:58:10 -0000 1.14
@@ -10,8 +10,8 @@
import java.util.List;
import java.util.Map;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
+import org.jboss.seam.log.LogProvider;
+import org.jboss.seam.log.Logging;
import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.Element;
@@ -37,7 +37,7 @@
public class Events
{
- private static final Log log = LogFactory.getLog(Events.class);
+ private static final LogProvider log = Logging.getLogProvider(Events.class);
private final Map<String, List<MethodBinding>> listeners = new HashMap<String, List<MethodBinding>>();
1.17 +3 -3 jboss-seam/src/main/org/jboss/seam/core/Exceptions.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Exceptions.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Exceptions.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- Exceptions.java 3 Dec 2006 07:01:54 -0000 1.16
+++ Exceptions.java 16 Dec 2006 02:58:10 -0000 1.17
@@ -11,8 +11,8 @@
import javax.faces.context.FacesContext;
import javax.faces.event.PhaseId;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
+import org.jboss.seam.log.LogProvider;
+import org.jboss.seam.log.Logging;
import org.dom4j.Document;
import org.dom4j.Element;
import org.dom4j.io.SAXReader;
@@ -47,7 +47,7 @@
@Name("org.jboss.seam.core.exceptions")
public class Exceptions
{
- private static final Log log = LogFactory.getLog(Exceptions.class);
+ private static final LogProvider log = Logging.getLogProvider(Exceptions.class);
private List<ExceptionHandler> exceptionHandlers = new ArrayList<ExceptionHandler>();
1.13 +3 -3 jboss-seam/src/main/org/jboss/seam/core/Interpolator.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Interpolator.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Interpolator.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- Interpolator.java 24 Nov 2006 23:15:17 -0000 1.12
+++ Interpolator.java 16 Dec 2006 02:58:10 -0000 1.13
@@ -7,8 +7,8 @@
import java.text.MessageFormat;
import java.util.StringTokenizer;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
+import org.jboss.seam.log.LogProvider;
+import org.jboss.seam.log.Logging;
import org.jboss.seam.Component;
import org.jboss.seam.annotations.Install;
import org.jboss.seam.annotations.Intercept;
@@ -27,7 +27,7 @@
@Install(precedence=BUILT_IN)
public class Interpolator {
- private static final Log log = LogFactory.getLog(Interpolator.class);
+ private static final LogProvider log = Logging.getLogProvider(Interpolator.class);
public static Interpolator instance()
{
1.40 +3 -3 jboss-seam/src/main/org/jboss/seam/core/Jbpm.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Jbpm.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Jbpm.java,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -b -r1.39 -r1.40
--- Jbpm.java 24 Nov 2006 23:15:17 -0000 1.39
+++ Jbpm.java 16 Dec 2006 02:58:10 -0000 1.40
@@ -12,8 +12,8 @@
import javax.naming.NamingException;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
+import org.jboss.seam.log.LogProvider;
+import org.jboss.seam.log.Logging;
import org.hibernate.cfg.Environment;
import org.hibernate.lob.ReaderInputStream;
import org.jboss.seam.ScopeType;
@@ -51,7 +51,7 @@
@Install(value=false, precedence=BUILT_IN)
public class Jbpm
{
- private static final Log log = LogFactory.getLog(Jbpm.class);
+ private static final LogProvider log = Logging.getLogProvider(Jbpm.class);
private JbpmConfiguration jbpmConfiguration;
private String jbpmConfigurationJndiName;
1.27 +4 -4 jboss-seam/src/main/org/jboss/seam/core/ManagedHibernateSession.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ManagedHibernateSession.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/ManagedHibernateSession.java,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- ManagedHibernateSession.java 25 Oct 2006 15:14:35 -0000 1.26
+++ ManagedHibernateSession.java 16 Dec 2006 02:58:10 -0000 1.27
@@ -1,4 +1,4 @@
-//$Id: ManagedHibernateSession.java,v 1.26 2006/10/25 15:14:35 gavin Exp $
+//$Id: ManagedHibernateSession.java,v 1.27 2006/12/16 02:58:10 nrichards Exp $
package org.jboss.seam.core;
import static org.jboss.seam.InterceptionType.NEVER;
@@ -12,8 +12,8 @@
import javax.servlet.http.HttpSessionActivationListener;
import javax.servlet.http.HttpSessionEvent;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
+import org.jboss.seam.log.LogProvider;
+import org.jboss.seam.log.Logging;
import org.hibernate.FlushMode;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
@@ -45,7 +45,7 @@
/** The serialVersionUID */
private static final long serialVersionUID = 3130309555079841107L;
- private static final Log log = LogFactory.getLog(ManagedHibernateSession.class);
+ private static final LogProvider log = Logging.getLogProvider(ManagedHibernateSession.class);
private Session session;
private String sessionFactoryJndiName;
1.22 +4 -4 jboss-seam/src/main/org/jboss/seam/core/ManagedJbpmContext.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ManagedJbpmContext.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/ManagedJbpmContext.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- ManagedJbpmContext.java 14 Dec 2006 13:08:57 -0000 1.21
+++ ManagedJbpmContext.java 16 Dec 2006 02:58:10 -0000 1.22
@@ -14,8 +14,8 @@
import javax.transaction.Synchronization;
import javax.transaction.SystemException;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
+import org.jboss.seam.log.LogProvider;
+import org.jboss.seam.log.Logging;
import org.jboss.seam.Component;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Create;
@@ -36,7 +36,7 @@
* Manages a reference to a JbpmSession.
*
* @author <a href="mailto:steve at hibernate.org">Steve Ebersole </a>
- * @version $Revision: 1.21 $
+ * @version $Revision: 1.22 $
*/
@Scope(ScopeType.EVENT)
@Name("org.jboss.seam.core.jbpmContext")
@@ -44,7 +44,7 @@
@Install(precedence=BUILT_IN, dependencies="org.jboss.seam.core.jbpm")
public class ManagedJbpmContext implements Synchronization
{
- private static final Log log = LogFactory.getLog(ManagedJbpmContext.class);
+ private static final LogProvider log = Logging.getLogProvider(ManagedJbpmContext.class);
private JbpmContext jbpmContext;
private boolean synchronizationRegistered;
1.29 +4 -4 jboss-seam/src/main/org/jboss/seam/core/ManagedPersistenceContext.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ManagedPersistenceContext.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/ManagedPersistenceContext.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- ManagedPersistenceContext.java 18 Nov 2006 00:38:22 -0000 1.28
+++ ManagedPersistenceContext.java 16 Dec 2006 02:58:10 -0000 1.29
@@ -1,4 +1,4 @@
-//$Id: ManagedPersistenceContext.java,v 1.28 2006/11/18 00:38:22 nrichards Exp $
+//$Id: ManagedPersistenceContext.java,v 1.29 2006/12/16 02:58:10 nrichards Exp $
package org.jboss.seam.core;
import static org.jboss.seam.InterceptionType.NEVER;
@@ -14,8 +14,8 @@
import javax.servlet.http.HttpSessionEvent;
import javax.transaction.SystemException;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
+import org.jboss.seam.log.LogProvider;
+import org.jboss.seam.log.Logging;
import org.jboss.seam.Component;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Create;
@@ -44,7 +44,7 @@
implements Serializable, HttpSessionActivationListener, Mutable, PersistenceContextManager
{
- private static final Log log = LogFactory.getLog(ManagedPersistenceContext.class);
+ private static final LogProvider log = Logging.getLogProvider(ManagedPersistenceContext.class);
private EntityManager entityManager;
private String persistenceUnitJndiName;
1.126 +4 -4 jboss-seam/src/main/org/jboss/seam/core/Manager.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Manager.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Manager.java,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -b -r1.125 -r1.126
--- Manager.java 15 Dec 2006 14:30:00 -0000 1.125
+++ Manager.java 16 Dec 2006 02:58:10 -0000 1.126
@@ -22,8 +22,8 @@
import javax.faces.context.FacesContext;
import javax.faces.event.PhaseId;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
+import org.jboss.seam.log.LogProvider;
+import org.jboss.seam.log.Logging;
import org.jboss.seam.Component;
import org.jboss.seam.ScopeType;
import org.jboss.seam.Seam;
@@ -42,7 +42,7 @@
*
* @author Gavin King
* @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
- * @version $Revision: 1.125 $
+ * @version $Revision: 1.126 $
*/
@Scope(ScopeType.EVENT)
@Name("org.jboss.seam.core.manager")
@@ -50,7 +50,7 @@
@Intercept(NEVER)
public class Manager
{
- private static final Log log = LogFactory.getLog(Manager.class);
+ private static final LogProvider log = Logging.getLogProvider(Manager.class);
//The id of the current conversation
private String currentConversationId;
1.47 +3 -3 jboss-seam/src/main/org/jboss/seam/core/Pageflow.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Pageflow.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Pageflow.java,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -b -r1.46 -r1.47
--- Pageflow.java 15 Dec 2006 14:30:00 -0000 1.46
+++ Pageflow.java 16 Dec 2006 02:58:10 -0000 1.47
@@ -11,8 +11,8 @@
import javax.faces.context.FacesContext;
import javax.faces.event.PhaseId;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
+import org.jboss.seam.log.LogProvider;
+import org.jboss.seam.log.Logging;
import org.jboss.seam.Component;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Install;
@@ -45,7 +45,7 @@
@Install(dependencies="org.jboss.seam.core.jbpm", precedence=BUILT_IN)
public class Pageflow extends AbstractMutable implements Serializable
{
- private static final Log log = LogFactory.getLog(Pageflow.class);
+ private static final LogProvider log = Logging.getLogProvider(Pageflow.class);
private int counter;
1.59 +3 -3 jboss-seam/src/main/org/jboss/seam/core/Pages.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Pages.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Pages.java,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -b -r1.58 -r1.59
--- Pages.java 15 Dec 2006 14:30:00 -0000 1.58
+++ Pages.java 16 Dec 2006 02:58:10 -0000 1.59
@@ -19,8 +19,8 @@
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
+import org.jboss.seam.log.LogProvider;
+import org.jboss.seam.log.Logging;
import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.Element;
@@ -53,7 +53,7 @@
public class Pages
{
- private static final Log log = LogFactory.getLog(Pages.class);
+ private static final LogProvider log = Logging.getLogProvider(Pages.class);
private Map<String, Page> pagesByViewId = Collections.synchronizedMap( new HashMap<String, Page>() );
private Map<String, List<Page>> pageStacksByViewId = Collections.synchronizedMap( new HashMap<String, List<Page>>() );
1.7 +4 -4 jboss-seam/src/main/org/jboss/seam/core/PojoCache.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PojoCache.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/PojoCache.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- PojoCache.java 24 Nov 2006 23:15:17 -0000 1.6
+++ PojoCache.java 16 Dec 2006 02:58:10 -0000 1.7
@@ -1,10 +1,10 @@
-//$Id: PojoCache.java,v 1.6 2006/11/24 23:15:17 gavin Exp $
+//$Id: PojoCache.java,v 1.7 2006/12/16 02:58:10 nrichards Exp $
package org.jboss.seam.core;
import static org.jboss.seam.annotations.Install.BUILT_IN;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
+import org.jboss.seam.log.LogProvider;
+import org.jboss.seam.log.Logging;
import org.jboss.cache.PropertyConfigurator;
import org.jboss.seam.Component;
import org.jboss.seam.InterceptionType;
@@ -25,7 +25,7 @@
public class PojoCache
{
- private static final Log log = LogFactory.getLog(PojoCache.class);
+ private static final LogProvider log = Logging.getLogProvider(PojoCache.class);
private org.jboss.cache.aop.PojoCache cache;
private String cfgResourceName = "treecache.xml";
1.24 +3 -3 jboss-seam/src/main/org/jboss/seam/core/ResourceBundle.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ResourceBundle.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/ResourceBundle.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- ResourceBundle.java 27 Nov 2006 03:00:15 -0000 1.23
+++ ResourceBundle.java 16 Dec 2006 02:58:10 -0000 1.24
@@ -13,8 +13,8 @@
import javax.faces.component.UIViewRoot;
import javax.faces.context.FacesContext;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
+import org.jboss.seam.log.LogProvider;
+import org.jboss.seam.log.Logging;
import org.jboss.seam.Component;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Install;
@@ -36,7 +36,7 @@
@Install(precedence=BUILT_IN)
public class ResourceBundle implements Serializable {
- private static final Log log = LogFactory.getLog(ResourceBundle.class);
+ private static final LogProvider log = Logging.getLogProvider(ResourceBundle.class);
private String[] bundleNames = {"messages"};
private transient java.util.ResourceBundle bundle;
More information about the jboss-cvs-commits
mailing list