[jboss-cvs] jboss-seam/src/main/org/jboss/seam/init ...

Gavin King gavin.king at jboss.com
Sat Oct 21 21:47:11 EDT 2006


  User: gavin   
  Date: 06/10/21 21:47:11

  Modified:    src/main/org/jboss/seam/init  Initialization.java
  Log:
  better exception handling
  rolled back change to faces-config
  fix bug where destroy() injected closed EM and tried to register in txn
  
  Revision  Changes    Path
  1.99      +4 -1      jboss-seam/src/main/org/jboss/seam/init/Initialization.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Initialization.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/init/Initialization.java,v
  retrieving revision 1.98
  retrieving revision 1.99
  diff -u -b -r1.98 -r1.99
  --- Initialization.java	16 Oct 2006 00:34:27 -0000	1.98
  +++ Initialization.java	22 Oct 2006 01:47:11 -0000	1.99
  @@ -16,6 +16,7 @@
   import java.util.Map;
   import java.util.Properties;
   import java.util.Set;
  +
   import javax.servlet.ServletContext;
   
   import org.apache.commons.logging.Log;
  @@ -43,6 +44,7 @@
   import org.jboss.seam.core.ConversationStack;
   import org.jboss.seam.core.EventContext;
   import org.jboss.seam.core.Events;
  +import org.jboss.seam.core.Exceptions;
   import org.jboss.seam.core.Expressions;
   import org.jboss.seam.core.FacesContext;
   import org.jboss.seam.core.FacesMessages;
  @@ -104,7 +106,7 @@
   /**
    * @author Gavin King
    * @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
  - * @version $Revision: 1.98 $
  + * @version $Revision: 1.99 $
    */
   public class Initialization
   {
  @@ -427,6 +429,7 @@
         addComponent( CurrentTime.class, context );
         addComponent( CurrentDatetime.class, context );
         addComponent( SeamSecurityManager.class, context );
  +      addComponent( Exceptions.class, context );
   
         //addComponent( Dispatcher.class, context );
   
  
  
  



More information about the jboss-cvs-commits mailing list