activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r554826 - /activemq/trunk/activemq-jpa-store/src/main/java/org/apache/activemq/store/jpa/JPAReferenceStoreAdapter.java
Date Tue, 10 Jul 2007 05:10:53 GMT
Author: rajdavies
Date: Mon Jul  9 22:10:52 2007
New Revision: 554826

URL: http://svn.apache.org/viewvc?view=rev&rev=554826
Log:
added savePreparedState() stub

Modified:
    activemq/trunk/activemq-jpa-store/src/main/java/org/apache/activemq/store/jpa/JPAReferenceStoreAdapter.java

Modified: activemq/trunk/activemq-jpa-store/src/main/java/org/apache/activemq/store/jpa/JPAReferenceStoreAdapter.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-jpa-store/src/main/java/org/apache/activemq/store/jpa/JPAReferenceStoreAdapter.java?view=diff&rev=554826&r1=554825&r2=554826
==============================================================================
--- activemq/trunk/activemq-jpa-store/src/main/java/org/apache/activemq/store/jpa/JPAReferenceStoreAdapter.java
(original)
+++ activemq/trunk/activemq-jpa-store/src/main/java/org/apache/activemq/store/jpa/JPAReferenceStoreAdapter.java
Mon Jul  9 22:10:52 2007
@@ -20,6 +20,7 @@
 import java.io.IOException;
 import java.util.HashSet;
 import java.util.List;
+import java.util.Map;
 import java.util.Set;
 
 import javax.persistence.EntityManager;
@@ -28,11 +29,13 @@
 import org.apache.activemq.command.ActiveMQDestination;
 import org.apache.activemq.command.ActiveMQQueue;
 import org.apache.activemq.command.ActiveMQTopic;
+import org.apache.activemq.command.TransactionId;
 import org.apache.activemq.store.MessageStore;
 import org.apache.activemq.store.ReferenceStore;
 import org.apache.activemq.store.ReferenceStoreAdapter;
 import org.apache.activemq.store.TopicMessageStore;
 import org.apache.activemq.store.TopicReferenceStore;
+import org.apache.activemq.store.amq.AMQTx;
 import org.apache.activemq.util.IOExceptionSupport;
 
 /**
@@ -146,6 +149,13 @@
      * @see org.apache.activemq.store.ReferenceStoreAdapter#recoverState()
      */
     public void recoverState(){        
+    }
+
+    public Map<TransactionId,AMQTx> retrievePreparedState() throws IOException{
+        return null;
+    }
+
+    public void savePreparedState(Map<TransactionId,AMQTx> map) throws IOException{
       
     }
 
 }



Mime
View raw message