[jboss-svn-commits] JBL Code SVN: r37106 - in labs/jbosstm/trunk/ArjunaJTA/examples: recovery/src/test/java/org/jboss/narayana/examples/recovery and 4 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Jun 22 14:48:40 EDT 2011
Author: mmusgrov
Date: 2011-06-22 14:48:40 -0400 (Wed, 22 Jun 2011)
New Revision: 37106
Modified:
labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/FileStoreExample.java
labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/HornetqStoreExample.java
labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/TransactionExample.java
labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/TransactionTimeoutExample.java
labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/Util.java
labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/VolatileStoreExample.java
labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/recovery/BasicXAExample.java
labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/recovery/DummyRecovery.java
labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/recovery/JmsRecovery.java
labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/recovery/RecoverySetup.java
labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/util/DummyXAResource.java
labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/util/Util.java
labs/jbosstm/trunk/ArjunaJTA/examples/simple_integration_example/src/main/java/org/jboss/narayana/examples/ejb/Customer.java
labs/jbosstm/trunk/ArjunaJTA/examples/simple_integration_example/src/main/java/org/jboss/narayana/examples/ejb/SimpleEjb.java
labs/jbosstm/trunk/ArjunaJTA/examples/simple_integration_example/src/main/java/org/jboss/narayana/examples/ejb/SimpleEjbLocal.java
labs/jbosstm/trunk/ArjunaJTA/examples/simple_maven_example/pom.xml
labs/jbosstm/trunk/ArjunaJTA/examples/simple_maven_example/src/test/java/TransactionManagerTest.java
Log:
[JBTM-854] Add copyright statements
Modified: labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/FileStoreExample.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/FileStoreExample.java 2011-06-22 18:31:53 UTC (rev 37105)
+++ labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/FileStoreExample.java 2011-06-22 18:48:40 UTC (rev 37106)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
package org.jboss.narayana.examples.basic;
import com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean;
Modified: labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/HornetqStoreExample.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/HornetqStoreExample.java 2011-06-22 18:31:53 UTC (rev 37105)
+++ labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/HornetqStoreExample.java 2011-06-22 18:48:40 UTC (rev 37106)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
package org.jboss.narayana.examples.basic;
import com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean;
Modified: labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/TransactionExample.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/TransactionExample.java 2011-06-22 18:31:53 UTC (rev 37105)
+++ labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/TransactionExample.java 2011-06-22 18:48:40 UTC (rev 37106)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
package org.jboss.narayana.examples.basic;
import javax.transaction.*;
Modified: labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/TransactionTimeoutExample.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/TransactionTimeoutExample.java 2011-06-22 18:31:53 UTC (rev 37105)
+++ labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/TransactionTimeoutExample.java 2011-06-22 18:48:40 UTC (rev 37106)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
package org.jboss.narayana.examples.basic;
import org.junit.Assert;
Modified: labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/Util.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/Util.java 2011-06-22 18:31:53 UTC (rev 37105)
+++ labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/Util.java 2011-06-22 18:48:40 UTC (rev 37106)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
package org.jboss.narayana.examples.basic;
import com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean;
Modified: labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/VolatileStoreExample.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/VolatileStoreExample.java 2011-06-22 18:31:53 UTC (rev 37105)
+++ labs/jbosstm/trunk/ArjunaJTA/examples/basic/src/test/java/org/jboss/narayana/examples/basic/VolatileStoreExample.java 2011-06-22 18:48:40 UTC (rev 37106)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
package org.jboss.narayana.examples.basic;
import com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean;
Modified: labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/recovery/BasicXAExample.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/recovery/BasicXAExample.java 2011-06-22 18:31:53 UTC (rev 37105)
+++ labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/recovery/BasicXAExample.java 2011-06-22 18:48:40 UTC (rev 37106)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
package org.jboss.narayana.examples.recovery;
import junit.framework.Assert;
Modified: labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/recovery/DummyRecovery.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/recovery/DummyRecovery.java 2011-06-22 18:31:53 UTC (rev 37105)
+++ labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/recovery/DummyRecovery.java 2011-06-22 18:48:40 UTC (rev 37106)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
package org.jboss.narayana.examples.recovery;
import com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean;
Modified: labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/recovery/JmsRecovery.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/recovery/JmsRecovery.java 2011-06-22 18:31:53 UTC (rev 37105)
+++ labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/recovery/JmsRecovery.java 2011-06-22 18:48:40 UTC (rev 37106)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
package org.jboss.narayana.examples.recovery;
import com.arjuna.ats.jta.common.JTAEnvironmentBean;
Modified: labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/recovery/RecoverySetup.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/recovery/RecoverySetup.java 2011-06-22 18:31:53 UTC (rev 37105)
+++ labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/recovery/RecoverySetup.java 2011-06-22 18:48:40 UTC (rev 37106)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
package org.jboss.narayana.examples.recovery;
import com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean;
Modified: labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/util/DummyXAResource.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/util/DummyXAResource.java 2011-06-22 18:31:53 UTC (rev 37105)
+++ labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/util/DummyXAResource.java 2011-06-22 18:48:40 UTC (rev 37106)
@@ -1,6 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
package org.jboss.narayana.examples.util;
-
import javax.transaction.xa.XAException;
import javax.transaction.xa.XAResource;
import javax.transaction.xa.Xid;
Modified: labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/util/Util.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/util/Util.java 2011-06-22 18:31:53 UTC (rev 37105)
+++ labs/jbosstm/trunk/ArjunaJTA/examples/recovery/src/test/java/org/jboss/narayana/examples/util/Util.java 2011-06-22 18:48:40 UTC (rev 37106)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
package org.jboss.narayana.examples.util;
import com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean;
Modified: labs/jbosstm/trunk/ArjunaJTA/examples/simple_integration_example/src/main/java/org/jboss/narayana/examples/ejb/Customer.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/examples/simple_integration_example/src/main/java/org/jboss/narayana/examples/ejb/Customer.java 2011-06-22 18:31:53 UTC (rev 37105)
+++ labs/jbosstm/trunk/ArjunaJTA/examples/simple_integration_example/src/main/java/org/jboss/narayana/examples/ejb/Customer.java 2011-06-22 18:48:40 UTC (rev 37106)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
package org.jboss.narayana.examples.ejb;
import java.io.Serializable;
Modified: labs/jbosstm/trunk/ArjunaJTA/examples/simple_integration_example/src/main/java/org/jboss/narayana/examples/ejb/SimpleEjb.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/examples/simple_integration_example/src/main/java/org/jboss/narayana/examples/ejb/SimpleEjb.java 2011-06-22 18:31:53 UTC (rev 37105)
+++ labs/jbosstm/trunk/ArjunaJTA/examples/simple_integration_example/src/main/java/org/jboss/narayana/examples/ejb/SimpleEjb.java 2011-06-22 18:48:40 UTC (rev 37106)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
package org.jboss.narayana.examples.ejb;
import java.util.List;
Modified: labs/jbosstm/trunk/ArjunaJTA/examples/simple_integration_example/src/main/java/org/jboss/narayana/examples/ejb/SimpleEjbLocal.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/examples/simple_integration_example/src/main/java/org/jboss/narayana/examples/ejb/SimpleEjbLocal.java 2011-06-22 18:31:53 UTC (rev 37105)
+++ labs/jbosstm/trunk/ArjunaJTA/examples/simple_integration_example/src/main/java/org/jboss/narayana/examples/ejb/SimpleEjbLocal.java 2011-06-22 18:48:40 UTC (rev 37106)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
package org.jboss.narayana.examples.ejb;
import javax.naming.NamingException;
Modified: labs/jbosstm/trunk/ArjunaJTA/examples/simple_maven_example/pom.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/examples/simple_maven_example/pom.xml 2011-06-22 18:31:53 UTC (rev 37105)
+++ labs/jbosstm/trunk/ArjunaJTA/examples/simple_maven_example/pom.xml 2011-06-22 18:48:40 UTC (rev 37106)
@@ -28,9 +28,11 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
+ <!--
<configuration>
<workingDirectory>${build.directory}/surefire-working-directory</workingDirectory>
</configuration>
+ -->
</plugin>
</plugins>
</build>
Modified: labs/jbosstm/trunk/ArjunaJTA/examples/simple_maven_example/src/test/java/TransactionManagerTest.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/examples/simple_maven_example/src/test/java/TransactionManagerTest.java 2011-06-22 18:31:53 UTC (rev 37105)
+++ labs/jbosstm/trunk/ArjunaJTA/examples/simple_maven_example/src/test/java/TransactionManagerTest.java 2011-06-22 18:48:40 UTC (rev 37106)
@@ -1,3 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and/or its affiliates,
+ * and individual contributors as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2011,
+ * @author JBoss, by Red Hat.
+ */
import javax.transaction.TransactionManager;
import org.junit.Test;
@@ -2,4 +22,2 @@
-import com.arjuna.ats.jta.common.jtaPropertyManager;
-
public class TransactionManagerTest {
@@ -9,7 +27,7 @@
@Test
public void testSettingUpTransactionManager() throws Exception {
- TransactionManager tm = jtaPropertyManager.getJTAEnvironmentBean().getTransactionManager();
+ TransactionManager tm = com.arjuna.ats.jta.TransactionManager.transactionManager();
tm.begin();
More information about the jboss-svn-commits
mailing list