[jboss-cvs] jboss-seam/src/main/org/jboss/seam/contexts ...
Gavin King
gavin.king at jboss.com
Sat Feb 3 20:13:18 EST 2007
User: gavin
Date: 07/02/03 20:13:18
Modified: src/main/org/jboss/seam/contexts Contexts.java
Lifecycle.java
Log:
redesigned exception handling
Revision Changes Path
1.47 +2 -2 jboss-seam/src/main/org/jboss/seam/contexts/Contexts.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Contexts.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/contexts/Contexts.java,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -b -r1.46 -r1.47
--- Contexts.java 16 Dec 2006 02:58:10 -0000 1.46
+++ Contexts.java 4 Feb 2007 01:13:18 -0000 1.47
@@ -16,11 +16,11 @@
*
* @author Gavin King
* @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
- * @version $Revision: 1.46 $
+ * @version $Revision: 1.47 $
*/
public class Contexts {
- private static final LogProvider log = Logging.getLogProvider( Contexts.class );
+ private static final LogProvider log = Logging.getLogProvider(Contexts.class);
static final ThreadLocal<Context> applicationContext = new ThreadLocal<Context>();
static final ThreadLocal<Context> methodContext = new ThreadLocal<Context>();
1.79 +3 -2 jboss-seam/src/main/org/jboss/seam/contexts/Lifecycle.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Lifecycle.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/contexts/Lifecycle.java,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -b -r1.78 -r1.79
--- Lifecycle.java 23 Jan 2007 22:06:18 -0000 1.78
+++ Lifecycle.java 4 Feb 2007 01:13:18 -0000 1.79
@@ -30,12 +30,12 @@
/**
* @author Gavin King
* @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
- * @version $Revision: 1.78 $
+ * @version $Revision: 1.79 $
*/
public class Lifecycle
{
- private static final LogProvider log = Logging.getLogProvider( Lifecycle.class );
+ private static final LogProvider log = Logging.getLogProvider(Lifecycle.class);
public static void beginRequest(ExternalContext externalContext) {
log.debug( ">>> Begin web request" );
@@ -117,6 +117,7 @@
Contexts.applicationContext.set( new WebApplicationContext(servletContext) );
Contexts.eventContext.set( new WebRequestContext( ContextAdaptor.getRequest(request) ) );
Contexts.sessionContext.set( new WebSessionContext( ContextAdaptor.getSession( request.getSession() ) ) );
+ Contexts.conversationContext.set( new MapContext(ScopeType.CONVERSATION) );
}
public static void endInitialization()
More information about the jboss-cvs-commits
mailing list