[jboss-svn-commits] JBL Code SVN: r37169 - labs/jbosstm/trunk/ArjunaCore/examples/txoj-stm.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Jun 29 12:25:50 EDT 2011
Author: tomjenkinson
Date: 2011-06-29 12:25:50 -0400 (Wed, 29 Jun 2011)
New Revision: 37169
Added:
labs/jbosstm/trunk/ArjunaCore/examples/txoj-stm/README
Modified:
labs/jbosstm/trunk/ArjunaCore/examples/txoj-stm/pom.xml
Log:
JBTM-854 update to provide the READM
Added: labs/jbosstm/trunk/ArjunaCore/examples/txoj-stm/README
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/examples/txoj-stm/README (rev 0)
+++ labs/jbosstm/trunk/ArjunaCore/examples/txoj-stm/README 2011-06-29 16:25:50 UTC (rev 37169)
@@ -0,0 +1,36 @@
+JBoss, Home of Professional Open Source Copyright 2008, Red Hat Middleware
+LLC, and others contributors as indicated by the @authors tag. All rights
+reserved. See the copyright.txt in the distribution for a full listing of
+individual contributors. This copyrighted material is made available to anyone
+wishing to use, modify, copy, or redistribute it subject to the terms and
+conditions of the GNU Lesser General Public License, v. 2.1. This program
+is distributed in the hope that it will be useful, but WITHOUT A 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, v.2.1
+along with this distribution; if not, write to the Free Software Foundation,
+Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+
+OVERVIEW
+--------
+This shows an example of how to introduce Software Transactional Memory to your project
+
+
+USAGE
+-----
+mvn compile exec:exec
+
+
+EXPECTED OUTPUT
+---------------
+As well as the maven output you would normally expect, you should also see the following:
+
+9-Jun-2011 17:24:51 com.arjuna.ats.arjuna.recovery.TransactionStatusManager addService
+INFO: ARJUNA12163: Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 44448
+29-Jun-2011 17:24:51 com.arjuna.ats.internal.arjuna.recovery.TransactionStatusManagerItem <init>
+INFO: ARJUNA12337: TransactionStatusManagerItem host: 127.0.0.1 port: 44448
+29-Jun-2011 17:24:51 com.arjuna.ats.arjuna.recovery.TransactionStatusManager start
+INFO: ARJUNA12170: TransactionStatusManager started on port 44448 and host 127.0.0.1 with service com.arjuna.ats.arjuna.recovery.ActionStatusService
+Created persistent object 0:ffff7f000001:ac45:4e0b51d3:0
+Atomic object operated as expected
Modified: labs/jbosstm/trunk/ArjunaCore/examples/txoj-stm/pom.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/examples/txoj-stm/pom.xml 2011-06-29 16:23:32 UTC (rev 37168)
+++ labs/jbosstm/trunk/ArjunaCore/examples/txoj-stm/pom.xml 2011-06-29 16:25:50 UTC (rev 37169)
@@ -50,7 +50,7 @@
<arguments>
<argument>-classpath</argument>
<classpath/>
- <argument>TransactionManagerExample</argument>
+ <argument>org.jboss.narayana.examples.stm.AtomicObject</argument>
</arguments>
</configuration>
</plugin>
More information about the jboss-svn-commits
mailing list