[seam-commits] Seam SVN: r13429 - in modules/persistence/trunk: api/src/main/java and 9 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Sun Jul 18 04:58:17 EDT 2010


Author: swd847
Date: 2010-07-18 04:58:16 -0400 (Sun, 18 Jul 2010)
New Revision: 13429

Added:
   modules/persistence/trunk/api/src/main/java/org/
   modules/persistence/trunk/api/src/main/java/org/jboss/
   modules/persistence/trunk/api/src/main/java/org/jboss/seam/
   modules/persistence/trunk/api/src/main/java/org/jboss/seam/persistence/
   modules/persistence/trunk/api/src/main/java/org/jboss/seam/persistence/transaction/
   modules/persistence/trunk/api/src/main/java/org/jboss/seam/persistence/transaction/event/
   modules/persistence/trunk/api/src/main/java/org/jboss/seam/persistence/transaction/event/AfterTransactionCompletion.java
   modules/persistence/trunk/api/src/main/java/org/jboss/seam/persistence/transaction/event/BeforeTransactionCompletion.java
Removed:
   modules/persistence/trunk/impl/src/main/java/org/jboss/seam/transaction/AfterTransactionCompletion.java
   modules/persistence/trunk/impl/src/main/java/org/jboss/seam/transaction/BeforeTransactionCompletion.java
Modified:
   modules/persistence/trunk/api/pom.xml
   modules/persistence/trunk/impl/pom.xml
   modules/persistence/trunk/impl/src/main/java/org/jboss/seam/transaction/SynchronizationRegistry.java
   modules/persistence/trunk/impl/src/test/java/org/jboss/seam/transactions/test/TransactionObserver.java
Log:
moved events to api



Modified: modules/persistence/trunk/api/pom.xml
===================================================================
--- modules/persistence/trunk/api/pom.xml	2010-07-18 08:51:36 UTC (rev 13428)
+++ modules/persistence/trunk/api/pom.xml	2010-07-18 08:58:16 UTC (rev 13429)
@@ -7,7 +7,7 @@
    </parent>
 
    <modelVersion>4.0.0</modelVersion>
-   <groupId>org.jboss.seam</groupId>
+   <groupId>org.jboss.seam.persistence</groupId>
    <artifactId>seam-persistence-api</artifactId>
    <packaging>jar</packaging>
    <version>3.0.0-SNAPSHOT</version>

Copied: modules/persistence/trunk/api/src/main/java/org/jboss/seam/persistence/transaction/event/AfterTransactionCompletion.java (from rev 13428, modules/persistence/trunk/impl/src/main/java/org/jboss/seam/transaction/AfterTransactionCompletion.java)
===================================================================
--- modules/persistence/trunk/api/src/main/java/org/jboss/seam/persistence/transaction/event/AfterTransactionCompletion.java	                        (rev 0)
+++ modules/persistence/trunk/api/src/main/java/org/jboss/seam/persistence/transaction/event/AfterTransactionCompletion.java	2010-07-18 08:58:16 UTC (rev 13429)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.seam.persistence.transaction.event;
+
+public class AfterTransactionCompletion
+{
+   private final boolean success;
+
+   public AfterTransactionCompletion(boolean success)
+   {
+      this.success = success;
+   }
+
+   public boolean success()
+   {
+      return success;
+   }
+}

Copied: modules/persistence/trunk/api/src/main/java/org/jboss/seam/persistence/transaction/event/BeforeTransactionCompletion.java (from rev 13428, modules/persistence/trunk/impl/src/main/java/org/jboss/seam/transaction/BeforeTransactionCompletion.java)
===================================================================
--- modules/persistence/trunk/api/src/main/java/org/jboss/seam/persistence/transaction/event/BeforeTransactionCompletion.java	                        (rev 0)
+++ modules/persistence/trunk/api/src/main/java/org/jboss/seam/persistence/transaction/event/BeforeTransactionCompletion.java	2010-07-18 08:58:16 UTC (rev 13429)
@@ -0,0 +1,27 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.seam.persistence.transaction.event;
+
+public class BeforeTransactionCompletion
+{
+
+}

Modified: modules/persistence/trunk/impl/pom.xml
===================================================================
--- modules/persistence/trunk/impl/pom.xml	2010-07-18 08:51:36 UTC (rev 13428)
+++ modules/persistence/trunk/impl/pom.xml	2010-07-18 08:58:16 UTC (rev 13429)
@@ -89,6 +89,11 @@
          <groupId>javax.enterprise</groupId>
          <artifactId>cdi-api</artifactId>
       </dependency>
+      
+      <dependency>
+         <groupId>org.jboss.seam.persistence</groupId>
+         <artifactId>seam-persistence-api</artifactId>
+      </dependency>
 
       <dependency>
          <groupId>org.slf4j</groupId>

Deleted: modules/persistence/trunk/impl/src/main/java/org/jboss/seam/transaction/AfterTransactionCompletion.java
===================================================================
--- modules/persistence/trunk/impl/src/main/java/org/jboss/seam/transaction/AfterTransactionCompletion.java	2010-07-18 08:51:36 UTC (rev 13428)
+++ modules/persistence/trunk/impl/src/main/java/org/jboss/seam/transaction/AfterTransactionCompletion.java	2010-07-18 08:58:16 UTC (rev 13429)
@@ -1,37 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2010, Red Hat, Inc., and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.seam.transaction;
-
-public class AfterTransactionCompletion
-{
-   private final boolean success;
-
-   public AfterTransactionCompletion(boolean success)
-   {
-      this.success = success;
-   }
-
-   public boolean success()
-   {
-      return success;
-   }
-}

Deleted: modules/persistence/trunk/impl/src/main/java/org/jboss/seam/transaction/BeforeTransactionCompletion.java
===================================================================
--- modules/persistence/trunk/impl/src/main/java/org/jboss/seam/transaction/BeforeTransactionCompletion.java	2010-07-18 08:51:36 UTC (rev 13428)
+++ modules/persistence/trunk/impl/src/main/java/org/jboss/seam/transaction/BeforeTransactionCompletion.java	2010-07-18 08:58:16 UTC (rev 13429)
@@ -1,27 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2010, Red Hat, Inc., and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.seam.transaction;
-
-public class BeforeTransactionCompletion
-{
-
-}

Modified: modules/persistence/trunk/impl/src/main/java/org/jboss/seam/transaction/SynchronizationRegistry.java
===================================================================
--- modules/persistence/trunk/impl/src/main/java/org/jboss/seam/transaction/SynchronizationRegistry.java	2010-07-18 08:51:36 UTC (rev 13428)
+++ modules/persistence/trunk/impl/src/main/java/org/jboss/seam/transaction/SynchronizationRegistry.java	2010-07-18 08:58:16 UTC (rev 13429)
@@ -28,6 +28,8 @@
 import javax.transaction.Status;
 import javax.transaction.Synchronization;
 
+import org.jboss.seam.persistence.transaction.event.AfterTransactionCompletion;
+import org.jboss.seam.persistence.transaction.event.BeforeTransactionCompletion;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 

Modified: modules/persistence/trunk/impl/src/test/java/org/jboss/seam/transactions/test/TransactionObserver.java
===================================================================
--- modules/persistence/trunk/impl/src/test/java/org/jboss/seam/transactions/test/TransactionObserver.java	2010-07-18 08:51:36 UTC (rev 13428)
+++ modules/persistence/trunk/impl/src/test/java/org/jboss/seam/transactions/test/TransactionObserver.java	2010-07-18 08:58:16 UTC (rev 13429)
@@ -3,8 +3,8 @@
 import javax.enterprise.context.ApplicationScoped;
 import javax.enterprise.event.Observes;
 
-import org.jboss.seam.transaction.AfterTransactionCompletion;
-import org.jboss.seam.transaction.BeforeTransactionCompletion;
+import org.jboss.seam.persistence.transaction.event.AfterTransactionCompletion;
+import org.jboss.seam.persistence.transaction.event.BeforeTransactionCompletion;
 
 @ApplicationScoped
 public class TransactionObserver



More information about the seam-commits mailing list