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

Gavin King gavin.king at jboss.com
Sun Jun 17 21:43:52 EDT 2007


  User: gavin   
  Date: 07/06/17 21:43:52

  Modified:    src/main/org/jboss/seam/core  TransactionListener.java
  Log:
  some new events
  
  Revision  Changes    Path
  1.6       +3 -0      jboss-seam/src/main/org/jboss/seam/core/TransactionListener.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TransactionListener.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/TransactionListener.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- TransactionListener.java	30 May 2007 20:27:06 -0000	1.5
  +++ TransactionListener.java	18 Jun 2007 01:43:52 -0000	1.6
  @@ -62,6 +62,7 @@
      
      public void afterBegin() throws EJBException, RemoteException
      {
  +      Events.instance().raiseEvent("org.jboss.seam.afterTransactionBegin");
      }
      
      public void scheduleEvent(String type, Object... parameters)
  @@ -71,6 +72,7 @@
   
      public void afterCompletion(boolean success) throws EJBException, RemoteException
      {
  +      Events.instance().raiseEvent("org.jboss.seam.afterTransactionCompletion", success);
         try
         {
            if (success)
  @@ -86,6 +88,7 @@
   
      public void beforeCompletion() throws EJBException, RemoteException
      {
  +      Events.instance().raiseEvent("org.jboss.seam.beforeTransactionCompletion");
      }
      
      @Remove @Destroy
  
  
  



More information about the jboss-cvs-commits mailing list