Mail Archive Home | gotm-commits List | December 2004 Index
| <-- Date Index --> | <-- Thread Index --> |
Date: Monday, December 20, 2004 @ 18:23:53
Author: rouvoy
Path: /cvsroot/gotm/ow-transaction
Added: .settings/org.eclipse.core.resources.prefs
Modified: .classpath build.xml
src/java/org/objectweb/transaction/api/Feature.java
src/java/org/objectweb/transaction/api/Identity.java
src/java/org/objectweb/transaction/api/State.java
src/java/org/objectweb/transaction/api/conflict/ConflictCheckFeature.java
src/java/org/objectweb/transaction/api/conflict/ConflitOperationFeature.java
src/java/org/objectweb/transaction/api/coordination/CoordinationFeature.java
src/java/org/objectweb/transaction/api/dependency/DependencyType.java
src/java/org/objectweb/transaction/api/dependency/DependencyTypeFeature.java
src/java/org/objectweb/transaction/api/event/Event.java
src/java/org/objectweb/transaction/api/event/EventContext.java
src/java/org/objectweb/transaction/api/event/EventEnlistmentFeature.java
src/java/org/objectweb/transaction/api/event/EventListenerFeature.java
src/java/org/objectweb/transaction/api/event/EventNotificationFeature.java
src/java/org/objectweb/transaction/api/event/PublishFeature.java
src/java/org/objectweb/transaction/api/event/SubscribeFeature.java
src/java/org/objectweb/transaction/api/lock/ConflictLockCheckFeature.java
src/java/org/objectweb/transaction/api/lock/ExclusiveLockFeature.java
src/java/org/objectweb/transaction/api/lock/LockIdentifier.java
src/java/org/objectweb/transaction/api/lock/LockMode.java
src/java/org/objectweb/transaction/api/lock/LockQueueState.java
src/java/org/objectweb/transaction/api/lock/ModeLockFeature.java
src/java/org/objectweb/transaction/api/lock/ReleaseLockFeature.java
src/java/org/objectweb/transaction/api/resource/ResourceEvent.java
src/java/org/objectweb/transaction/api/resource/ResourceVote.java
src/java/org/objectweb/transaction/api/stamp/Stamp.java
src/java/org/objectweb/transaction/api/stamp/StampProviderFeature.java
src/java/org/objectweb/transaction/api/synchronization/SynchronizationEvent.java
src/java/org/objectweb/transaction/api/transaction/InvalidTransactionStatusException.java
src/java/org/objectweb/transaction/api/transaction/TransactionActivationFeature.java
src/java/org/objectweb/transaction/api/transaction/TransactionInterruptionFeature.java
src/java/org/objectweb/transaction/api/transaction/TransactionState.java
src/java/org/objectweb/transaction/api/transaction/TransactionStatus.java
src/java/org/objectweb/transaction/api/transaction/TransactionStatusFeature.java
src/java/org/objectweb/transaction/api/xid/XidState.java
src/java/org/objectweb/transaction/lib/event/AbstractEvent.java
src/java/org/objectweb/transaction/lib/resource/ResourceEventCommit.java
src/java/org/objectweb/transaction/lib/resource/ResourceEventContext.java
src/java/org/objectweb/transaction/lib/resource/ResourceEventRollback.java
src/java/org/objectweb/transaction/lib/resource/ResourceEventVote.java
src/java/org/objectweb/transaction/lib/resource/ResourceVoteCommit.java
src/java/org/objectweb/transaction/lib/resource/ResourceVoteReadOnly.java
src/java/org/objectweb/transaction/lib/resource/ResourceVoteRollback.java
src/java/org/objectweb/transaction/lib/synchronization/SynchronizationEventAfterCompletion.java
src/java/org/objectweb/transaction/lib/synchronization/SynchronizationEventBeforeCompletion.java
src/java/org/objectweb/transaction/lib/transaction/DependencyTypeCausal.java
src/java/org/objectweb/transaction/lib/transaction/DependencyTypeOrder.java
src/java/org/objectweb/transaction/lib/transaction/DependencyTypeWeakCausal.java
src/java/org/objectweb/transaction/lib/transaction/TransactionStatusCommitted.java
src/java/org/objectweb/transaction/lib/transaction/TransactionStatusCommitting.java
src/java/org/objectweb/transaction/lib/transaction/TransactionStatusMarkedRollback.java
src/java/org/objectweb/transaction/lib/transaction/TransactionStatusNoTransaction.java
src/java/org/objectweb/transaction/lib/transaction/TransactionStatusPrepared.java
src/java/org/objectweb/transaction/lib/transaction/TransactionStatusPreparing.java
src/java/org/objectweb/transaction/lib/transaction/TransactionStatusRolledBack.java
src/java/org/objectweb/transaction/lib/transaction/TransactionStatusRollingBack.java
src/java/org/objectweb/transaction/lib/transaction/TransactionStatusTransactionActive.java
src/java/org/objectweb/transaction/lib/transaction/TransactionStatusUnknown.java
Removed: lib/xdoclet/commons-collections-2.0.jar
lib/xdoclet/commons-logging.jar lib/xdoclet/log4j.jar
lib/xdoclet/xdoclet-1.2.2.jar
lib/xdoclet/xdoclet-java-module-1.2.2.jar
lib/xdoclet/xjavadoc-1.1.jar src/xdt/FcComponentInterface.xdt
* Replacing Fractal ADL files by Fractal XDoclet.
--------------------------------------------------------------------------------------------------+
.classpath
| 2
.settings/org.eclipse.core.resources.prefs
| 3
build.xml
| 36 ----
lib/xdoclet/commons-collections-2.0.jar
| <<Binary file>>
lib/xdoclet/commons-logging.jar
| <<Binary file>>
lib/xdoclet/log4j.jar
| <<Binary file>>
lib/xdoclet/xdoclet-1.2.2.jar
| <<Binary file>>
lib/xdoclet/xdoclet-java-module-1.2.2.jar
| <<Binary file>>
lib/xdoclet/xjavadoc-1.1.jar
| <<Binary file>>
src/java/org/objectweb/transaction/api/Feature.java
| 59 +++----
src/java/org/objectweb/transaction/api/Identity.java
| 56 +++---
src/java/org/objectweb/transaction/api/State.java
| 55 +++---
src/java/org/objectweb/transaction/api/conflict/ConflictCheckFeature.java
| 64 +++----
src/java/org/objectweb/transaction/api/conflict/ConflitOperationFeature.java
| 58 +++---
src/java/org/objectweb/transaction/api/coordination/CoordinationFeature.java
| 9 -
src/java/org/objectweb/transaction/api/dependency/DependencyType.java
| 52 +++---
src/java/org/objectweb/transaction/api/dependency/DependencyTypeFeature.java
| 60 +++----
src/java/org/objectweb/transaction/api/event/Event.java
| 9 -
src/java/org/objectweb/transaction/api/event/EventContext.java
| 4
src/java/org/objectweb/transaction/api/event/EventEnlistmentFeature.java
| 11 -
src/java/org/objectweb/transaction/api/event/EventListenerFeature.java
| 9 -
src/java/org/objectweb/transaction/api/event/EventNotificationFeature.java
| 9 -
src/java/org/objectweb/transaction/api/event/PublishFeature.java
| 58 +++---
src/java/org/objectweb/transaction/api/event/SubscribeFeature.java
| 66 ++++---
src/java/org/objectweb/transaction/api/lock/ConflictLockCheckFeature.java
| 63 +++----
src/java/org/objectweb/transaction/api/lock/ExclusiveLockFeature.java
| 67 +++----
src/java/org/objectweb/transaction/api/lock/LockIdentifier.java
| 51 +++---
src/java/org/objectweb/transaction/api/lock/LockMode.java
| 55 +++---
src/java/org/objectweb/transaction/api/lock/LockQueueState.java
| 62 +++----
src/java/org/objectweb/transaction/api/lock/ModeLockFeature.java
| 68 +++-----
src/java/org/objectweb/transaction/api/lock/ReleaseLockFeature.java
| 64 +++----
src/java/org/objectweb/transaction/api/resource/ResourceEvent.java
| 9 -
src/java/org/objectweb/transaction/api/resource/ResourceVote.java
| 4
src/java/org/objectweb/transaction/api/stamp/Stamp.java
| 48 ++---
src/java/org/objectweb/transaction/api/stamp/StampProviderFeature.java
| 60 +++----
src/java/org/objectweb/transaction/api/synchronization/SynchronizationEvent.java
| 4
src/java/org/objectweb/transaction/api/transaction/InvalidTransactionStatusException.java
| 21 ++
src/java/org/objectweb/transaction/api/transaction/TransactionActivationFeature.java
| 15 -
src/java/org/objectweb/transaction/api/transaction/TransactionInterruptionFeature.java
| 11 -
src/java/org/objectweb/transaction/api/transaction/TransactionState.java
| 9 -
src/java/org/objectweb/transaction/api/transaction/TransactionStatus.java
| 11 -
src/java/org/objectweb/transaction/api/transaction/TransactionStatusFeature.java
| 11 -
src/java/org/objectweb/transaction/api/xid/XidState.java
| 10 -
src/java/org/objectweb/transaction/lib/event/AbstractEvent.java
| 25 +-
src/java/org/objectweb/transaction/lib/resource/ResourceEventCommit.java
| 63 +++----
src/java/org/objectweb/transaction/lib/resource/ResourceEventContext.java
| 52 +++---
src/java/org/objectweb/transaction/lib/resource/ResourceEventRollback.java
| 60 +++----
src/java/org/objectweb/transaction/lib/resource/ResourceEventVote.java
| 61 +++----
src/java/org/objectweb/transaction/lib/resource/ResourceVoteCommit.java
| 24 +-
src/java/org/objectweb/transaction/lib/resource/ResourceVoteReadOnly.java
| 24 +-
src/java/org/objectweb/transaction/lib/resource/ResourceVoteRollback.java
| 22 +-
src/java/org/objectweb/transaction/lib/synchronization/SynchronizationEventAfterCompletion.java
| 62 +++----
src/java/org/objectweb/transaction/lib/synchronization/SynchronizationEventBeforeCompletion.java
| 62 +++----
src/java/org/objectweb/transaction/lib/transaction/DependencyTypeCausal.java
| 60 +++----
src/java/org/objectweb/transaction/lib/transaction/DependencyTypeOrder.java
| 60 +++----
src/java/org/objectweb/transaction/lib/transaction/DependencyTypeWeakCausal.java
| 59 +++----
src/java/org/objectweb/transaction/lib/transaction/TransactionStatusCommitted.java
| 58 +++---
src/java/org/objectweb/transaction/lib/transaction/TransactionStatusCommitting.java
| 60 +++----
src/java/org/objectweb/transaction/lib/transaction/TransactionStatusMarkedRollback.java
| 60 +++----
src/java/org/objectweb/transaction/lib/transaction/TransactionStatusNoTransaction.java
| 84 +++++-----
src/java/org/objectweb/transaction/lib/transaction/TransactionStatusPrepared.java
| 60 +++----
src/java/org/objectweb/transaction/lib/transaction/TransactionStatusPreparing.java
| 64 +++----
src/java/org/objectweb/transaction/lib/transaction/TransactionStatusRolledBack.java
| 64 +++----
src/java/org/objectweb/transaction/lib/transaction/TransactionStatusRollingBack.java
| 64 +++----
src/java/org/objectweb/transaction/lib/transaction/TransactionStatusTransactionActive.java
| 80 ++++-----
src/java/org/objectweb/transaction/lib/transaction/TransactionStatusUnknown.java
| 64 +++----
src/xdt/FcComponentInterface.xdt
| 16 -
67 files changed, 1271 insertions(+), 1300 deletions(-)
Index: ow-transaction/.classpath
diff -u ow-transaction/.classpath:1.3 ow-transaction/.classpath:1.4
--- ow-transaction/.classpath:1.3 Thu Dec 9 10:57:36 2004
+++ ow-transaction/.classpath Mon Dec 20 18:23:52 2004
@@ -1,8 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/java"/>
- <classpathentry kind="src" path="build/fractal"/>
- <classpathentry kind="src" path="src/xdt"/>
<classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="build/class"/>
</classpath>
Index: ow-transaction/.settings/org.eclipse.core.resources.prefs
diff -u /dev/null
ow-transaction/.settings/org.eclipse.core.resources.prefs:1.1
--- /dev/null Mon Dec 20 18:23:53 2004
+++ ow-transaction/.settings/org.eclipse.core.resources.prefs Mon Dec 20
18:23:52 2004
@@ -0,0 +1,3 @@
+#Mon Dec 20 16:43:08 CET 2004
+eclipse.preferences.version=1
+encoding//src/fractal/org/objectweb/transaction/lib/transaction/FcTransactionStatusCommitted.fractal=ISO-8859-1
Index: ow-transaction/build.xml
diff -u ow-transaction/build.xml:1.4 ow-transaction/build.xml:1.5
--- ow-transaction/build.xml:1.4 Thu Dec 9 10:57:36 2004
+++ ow-transaction/build.xml Mon Dec 20 18:23:52 2004
@@ -21,7 +21,7 @@
<!-- Initial developer(s): Romain Rouvoy. -->
<!-- Contributor(s): ______________________________________. -->
-<!-- $Id: build.xml,v 1.4 2004/12/09 09:57:36 rouvoy Exp $ -->
+<!-- $Id: build.xml,v 1.5 2004/12/20 17:23:52 rouvoy Exp $ -->
<!-- ==================================================================== -->
<project name="transaction" default="tx-all">
@@ -130,40 +130,8 @@
includes="org/objectweb/transaction/lib/**/*"/>
</jar>
</target>
-
-
- <target name="-doclet-init">
- <copy todir="${build.dir}/${ant.dir}">
- <mapper type="flatten"/>
- <fileset dir="${basedir}/${lib.dir}" includes="**/*.jar"/>
- </copy>
- <taskdef name="xdoclet" classname="xdoclet.DocletTask">
- <classpath>
- <fileset dir="${build.dir}/${ant.dir}" includes="*.jar"/>
- </classpath>
- </taskdef>
- </target>
-
- <target name="tx-doclet" depends="-doclet-init">
- <mkdir dir="${build.dir}/${fractal.dir}"/>
- <xdoclet destdir="${build.dir}/${fractal.dir}"
- excludedtags="@version,@author,@todo">
- <fileset dir="${basedir}/${java.dir}"
- includes="org/objectweb/transaction/api/**/*.java"/>
- <template subTaskName="Component Interface Generator"
- templateFile="${basedir}/src/xdt/FcComponentInterface.xdt"
- destinationFile="Fc{0}.fractal"/>
- </xdoclet>
- </target>
-
- <target name="tx-fractal" depends="tx-compile,tx-doclet"
- description="generate the Fractal components">
- <copy todir="${build.dir}/${class.dir}">
- <fileset dir="${build.dir}/${fractal.dir}"/>
- </copy>
- </target>
- <target name="tx-build" depends="tx-build-api,tx-build-lib,tx-fractal"
+ <target name="tx-build" depends="tx-build-api,tx-build-lib"
description="build the archives in the lib directory"/>
<target name="tx-distrib-src" description="build the source distribution">
Index: ow-transaction/lib/xdoclet/commons-collections-2.0.jar
cvs rdiff: failed to read diff file header /tmp/cvspMv6ek for
commons-collections-2.0.jar,v: end of file
Index: ow-transaction/lib/xdoclet/commons-logging.jar
cvs rdiff: failed to read diff file header /tmp/cvsM1E6yl for
commons-logging.jar,v: end of file
Index: ow-transaction/lib/xdoclet/log4j.jar
cvs rdiff: failed to read diff file header /tmp/cvsPaDYum for log4j.jar,v:
end of file
Index: ow-transaction/lib/xdoclet/xdoclet-1.2.2.jar
cvs rdiff: failed to read diff file header /tmp/cvs0dLLdw for
xdoclet-1.2.2.jar,v: end of file
Index: ow-transaction/lib/xdoclet/xdoclet-java-module-1.2.2.jar
cvs rdiff: failed to read diff file header /tmp/cvsFcGLRq for
xdoclet-java-module-1.2.2.jar,v: end of file
Index: ow-transaction/lib/xdoclet/xjavadoc-1.1.jar
cvs rdiff: failed to read diff file header /tmp/cvs8atDIr for
xjavadoc-1.1.jar,v: end of file
Index: ow-transaction/src/java/org/objectweb/transaction/api/Feature.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/Feature.java:1.1
ow-transaction/src/java/org/objectweb/transaction/api/Feature.java:1.2
--- ow-transaction/src/java/org/objectweb/transaction/api/Feature.java:1.1
Tue Mar 23 13:54:25 2004
+++ ow-transaction/src/java/org/objectweb/transaction/api/Feature.java Mon
Dec 20 18:23:52 2004
@@ -1,43 +1,41 @@
/*====================================================================
-
-ObjectWeb Transaction Working Group API
-Contact: http://www.objectweb.org
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): ______________________________________.
-
----------------------------------------------------------------------
-$Id: Feature.java,v 1.1 2004/03/23 12:54:25 rouvoy Exp $
-====================================================================*/
+
+ ObjectWeb Transaction Working Group API
+ Contact: http://www.objectweb.org
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): ______________________________________.
+
+ ---------------------------------------------------------------------
+ $Id: Feature.java,v 1.2 2004/12/20 17:23:52 rouvoy Exp $
+ ====================================================================*/
package org.objectweb.transaction.api;
/**
- * Root Interface for Derived Features
- *
+ * Root Interface for Derived Features.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
- *
- * @adl.id name="FEATURE" value="feature"
+ * @version $Revision: 1.2 $
+ * @fractal server="feature"
*/
public interface Feature
{
/**
- * Identifier for the ADL
+ * Identifier for the ADL.
*/
public static final String FEATURE = "feature" ;
}
Index: ow-transaction/src/java/org/objectweb/transaction/api/Identity.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/Identity.java:1.1
ow-transaction/src/java/org/objectweb/transaction/api/Identity.java:1.2
--- ow-transaction/src/java/org/objectweb/transaction/api/Identity.java:1.1
Tue Mar 23 13:54:25 2004
+++ ow-transaction/src/java/org/objectweb/transaction/api/Identity.java Mon
Dec 20 18:23:52 2004
@@ -1,39 +1,36 @@
/*====================================================================
-
-ObjectWeb Transaction Working Group API
-Contact: http://www.objectweb.org
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): ______________________________________.
-
----------------------------------------------------------------------
-$Id: Identity.java,v 1.1 2004/03/23 12:54:25 rouvoy Exp $
-====================================================================*/
+
+ ObjectWeb Transaction Working Group API
+ Contact: http://www.objectweb.org
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): ______________________________________.
+
+ ---------------------------------------------------------------------
+ $Id: Identity.java,v 1.2 2004/12/20 17:23:52 rouvoy Exp $
+ ====================================================================*/
package org.objectweb.transaction.api;
/**
* Generic interface of a Transaction Identity
- *
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- *
- * @version 0.1
- *
- * @adl.id name="IDENTITY" value="identity"
+ * @version $Revision: 1.2 $
+ * @fractal server="identity"
*/
public interface Identity
{
Index: ow-transaction/src/java/org/objectweb/transaction/api/State.java
diff -u ow-transaction/src/java/org/objectweb/transaction/api/State.java:1.1
ow-transaction/src/java/org/objectweb/transaction/api/State.java:1.2
--- ow-transaction/src/java/org/objectweb/transaction/api/State.java:1.1
Tue Mar 23 13:54:25 2004
+++ ow-transaction/src/java/org/objectweb/transaction/api/State.java Mon
Dec 20 18:23:52 2004
@@ -1,38 +1,36 @@
/*====================================================================
-
-ObjectWeb Transaction Working Group API
-Contact: http://www.objectweb.org
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): ______________________________________.
-
----------------------------------------------------------------------
-$Id: State.java,v 1.1 2004/03/23 12:54:25 rouvoy Exp $
-====================================================================*/
+
+ ObjectWeb Transaction Working Group API
+ Contact: http://www.objectweb.org
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): ______________________________________.
+
+ ---------------------------------------------------------------------
+ $Id: State.java,v 1.2 2004/12/20 17:23:52 rouvoy Exp $
+ ====================================================================*/
package org.objectweb.transaction.api;
/**
* Root Interface for Derived State Entities
- *
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
- *
- * @adl.id name="STATE" value="state"
+ * @version $Revision: 1.2 $
+ * @fractal server="state"
*/
public interface State
{
Index:
ow-transaction/src/java/org/objectweb/transaction/api/conflict/ConflictCheckFeature.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/conflict/ConflictCheckFeature.java:1.1
ow-transaction/src/java/org/objectweb/transaction/api/conflict/ConflictCheckFeature.java:1.2
---
ow-transaction/src/java/org/objectweb/transaction/api/conflict/ConflictCheckFeature.java:1.1
Tue Mar 23 13:54:25 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/conflict/ConflictCheckFeature.java
Mon Dec 20 18:23:52 2004
@@ -1,48 +1,45 @@
/*====================================================================
-
-ObjectWeb Transaction Working Group API
-Contact: http://www.objectweb.org
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): ______________________________________.
-
----------------------------------------------------------------------
-$Id: ConflictCheckFeature.java,v 1.1 2004/03/23 12:54:25 rouvoy Exp $
-====================================================================*/
+
+ ObjectWeb Transaction Working Group API
+ Contact: http://www.objectweb.org
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): ______________________________________.
+
+ ---------------------------------------------------------------------
+ $Id: ConflictCheckFeature.java,v 1.2 2004/12/20 17:23:52 rouvoy Exp $
+ ====================================================================*/
package org.objectweb.transaction.api.conflict;
import org.objectweb.transaction.api.Feature;
/**
* Feature for checking is a conflict component is really
- *
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
- * @adl.id name="CONFLICT_CHECK_FEATURE" value="conflict-check-feature"
+ * @version $Revision: 1.2 $
+ * @fractal server="conflict-check"
*/
public interface ConflictCheckFeature
- extends Feature
+extends Feature
{
- /**
- * ADL Identifier
- */
- public static final String CONFLICT_CHECK_FEATURE =
"conflict-check-feature";
-
+ /** Fractal ADL Identifier for the <code>CONFLICT_CHECK</code>
interface. */
+ public static final String CONFLICT_CHECK = "conflict-check";
+
/**
* Checks if the current definition is conflictual
* @return true if conflictual
Index:
ow-transaction/src/java/org/objectweb/transaction/api/conflict/ConflitOperationFeature.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/conflict/ConflitOperationFeature.java:1.1
ow-transaction/src/java/org/objectweb/transaction/api/conflict/ConflitOperationFeature.java:1.2
---
ow-transaction/src/java/org/objectweb/transaction/api/conflict/ConflitOperationFeature.java:1.1
Tue Mar 23 13:54:25 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/conflict/ConflitOperationFeature.java
Mon Dec 20 18:23:52 2004
@@ -1,42 +1,45 @@
/*====================================================================
-
-ObjectWeb Transaction Working Group API
-Contact: http://www.objectweb.org
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): ______________________________________.
-
----------------------------------------------------------------------
-$Id: ConflitOperationFeature.java,v 1.1 2004/03/23 12:54:25 rouvoy Exp $
-====================================================================*/
+
+ ObjectWeb Transaction Working Group API
+ Contact: http://www.objectweb.org
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): ______________________________________.
+
+ ---------------------------------------------------------------------
+ $Id: ConflitOperationFeature.java,v 1.2 2004/12/20 17:23:52 rouvoy Exp $
+ ====================================================================*/
package org.objectweb.transaction.api.conflict;
import org.objectweb.transaction.api.Feature;
/**
* Feature providing conflict the operation element in the conflict
definition.
- *
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.2 $
+ * @fractal server="conflict-operation"
*/
public interface ConflitOperationFeature
- extends Feature
+extends Feature
{
+ /** Fractal ADL Identifier for the <code>CONFLICT_OPERATION</code>
interface. */
+ public static final String CONFLICT_OPERATION = "conflict-operation";
+
/**
* Provides the name of the related method.
* @return the name of the method.
Index:
ow-transaction/src/java/org/objectweb/transaction/api/coordination/CoordinationFeature.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/coordination/CoordinationFeature.java:1.2
ow-transaction/src/java/org/objectweb/transaction/api/coordination/CoordinationFeature.java:1.3
---
ow-transaction/src/java/org/objectweb/transaction/api/coordination/CoordinationFeature.java:1.2
Fri Jul 30 18:43:00 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/coordination/CoordinationFeature.java
Mon Dec 20 18:23:52 2004
@@ -22,7 +22,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: CoordinationFeature.java,v 1.2 2004/07/30 16:43:00 rouvoy Exp $
+ $Id: CoordinationFeature.java,v 1.3 2004/12/20 17:23:52 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.api.coordination;
@@ -31,12 +31,13 @@
/**
* Feature of validation for the commit engine.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.3 $
+ * @fractal server="coord-process"
*/
public interface CoordinationFeature
- extends Feature
+extends Feature
{
- /** Identifier for the ADL. */
+ /** Fractal ADL Identifier for the <code>PROCESS_FEATURE</code>
interface.*/
public static final String PROCESS_FEATURE = "coord-process" ;
/**
Index:
ow-transaction/src/java/org/objectweb/transaction/api/dependency/DependencyType.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/dependency/DependencyType.java:1.1
ow-transaction/src/java/org/objectweb/transaction/api/dependency/DependencyType.java:1.2
---
ow-transaction/src/java/org/objectweb/transaction/api/dependency/DependencyType.java:1.1
Tue Mar 23 13:54:25 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/dependency/DependencyType.java
Mon Dec 20 18:23:52 2004
@@ -1,36 +1,35 @@
/*====================================================================
-
-ObjectWeb Transaction Working Group API
-Contact: http://www.objectweb.org
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): ______________________________________.
-
----------------------------------------------------------------------
-$Id: DependencyType.java,v 1.1 2004/03/23 12:54:25 rouvoy Exp $
-====================================================================*/
+
+ ObjectWeb Transaction Working Group API
+ Contact: http://www.objectweb.org
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): ______________________________________.
+
+ ---------------------------------------------------------------------
+ $Id: DependencyType.java,v 1.2 2004/12/20 17:23:52 rouvoy Exp $
+ ====================================================================*/
package org.objectweb.transaction.api.dependency;
/**
* Defines various types for dependencies.
- *
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.2 $
*/
public interface DependencyType
{
Index:
ow-transaction/src/java/org/objectweb/transaction/api/dependency/DependencyTypeFeature.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/dependency/DependencyTypeFeature.java:1.1
ow-transaction/src/java/org/objectweb/transaction/api/dependency/DependencyTypeFeature.java:1.2
---
ow-transaction/src/java/org/objectweb/transaction/api/dependency/DependencyTypeFeature.java:1.1
Tue Mar 23 13:54:25 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/dependency/DependencyTypeFeature.java
Mon Dec 20 18:23:52 2004
@@ -1,42 +1,47 @@
/*====================================================================
-
-ObjectWeb Transaction Working Group API
-Contact: http://www.objectweb.org
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): ______________________________________.
-
----------------------------------------------------------------------
-$Id: DependencyTypeFeature.java,v 1.1 2004/03/23 12:54:25 rouvoy Exp $
-====================================================================*/
+
+ ObjectWeb Transaction Working Group API
+ Contact: http://www.objectweb.org
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): ______________________________________.
+
+ ---------------------------------------------------------------------
+ $Id: DependencyTypeFeature.java,v 1.2 2004/12/20 17:23:52 rouvoy Exp $
+ ====================================================================*/
package org.objectweb.transaction.api.dependency;
import org.objectweb.transaction.api.Feature;
/**
* Feature providing the type of dependency if dependency type is defined.
- *
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.2 $
+ * @fractal server="dependency-type"
*/
public interface DependencyTypeFeature
- extends Feature
+extends Feature
{
+ /**
+ * Fractal ADL Identifier for the <code>DEPENDENCY</code> interface.
+ */
+ public static final String DEPENDENCY_TYPE = "dependency-type";
+
/**
* Provides the type of dependency considered.
* @return the instance of the type considered.
Index: ow-transaction/src/java/org/objectweb/transaction/api/event/Event.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/event/Event.java:1.3
ow-transaction/src/java/org/objectweb/transaction/api/event/Event.java:1.4
---
ow-transaction/src/java/org/objectweb/transaction/api/event/Event.java:1.3
Fri Jul 30 18:43:00 2004
+++ ow-transaction/src/java/org/objectweb/transaction/api/event/Event.java
Mon Dec 20 18:23:52 2004
@@ -22,7 +22,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: Event.java,v 1.3 2004/07/30 16:43:00 rouvoy Exp $
+ $Id: Event.java,v 1.4 2004/12/20 17:23:52 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.api.event;
@@ -31,12 +31,13 @@
/**
* Description of an Event.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.4 $
+ * @fractal server="event"
*/
public interface Event
- extends Serializable
+extends Serializable
{
- /** ADL Identifier. */
+ /** Fractal ADL Identifier for the <code>EVENT</code> interface. */
public static final String EVENT = "event";
/**
Index:
ow-transaction/src/java/org/objectweb/transaction/api/event/EventContext.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/event/EventContext.java:1.3
ow-transaction/src/java/org/objectweb/transaction/api/event/EventContext.java:1.4
---
ow-transaction/src/java/org/objectweb/transaction/api/event/EventContext.java:1.3
Fri Jul 30 18:43:00 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/event/EventContext.java
Mon Dec 20 18:23:52 2004
@@ -22,14 +22,14 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: EventContext.java,v 1.3 2004/07/30 16:43:00 rouvoy Exp $
+ $Id: EventContext.java,v 1.4 2004/12/20 17:23:52 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.api.event;
/**
* Root interface for Event contexts.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.4 $
*/
public interface EventContext
{
Index:
ow-transaction/src/java/org/objectweb/transaction/api/event/EventEnlistmentFeature.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/event/EventEnlistmentFeature.java:1.2
ow-transaction/src/java/org/objectweb/transaction/api/event/EventEnlistmentFeature.java:1.3
---
ow-transaction/src/java/org/objectweb/transaction/api/event/EventEnlistmentFeature.java:1.2
Fri Jul 30 18:43:00 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/event/EventEnlistmentFeature.java
Mon Dec 20 18:23:52 2004
@@ -22,7 +22,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: EventEnlistmentFeature.java,v 1.2 2004/07/30 16:43:00 rouvoy Exp $
+ $Id: EventEnlistmentFeature.java,v 1.3 2004/12/20 17:23:52 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.api.event;
@@ -31,13 +31,14 @@
/**
* Feature allowing the enlistment of EventNotificationFeature interfaces.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.3 $
+ * @fractal server="evt-enlistment"
*/
public interface EventEnlistmentFeature
- extends Feature
+extends Feature
{
- /** ADL Identifier. */
- public static final String EVENT_ENLISTMENT_FEATURE = "evt-enlistment";
+ /** Fractal ADL Identifier for the <code>EVENT_ENLISTMENT</code>
interface.*/
+ public static final String EVENT_ENLISTMENT = "evt-enlistment";
/**
* Enlist an EventNotificationFeature interface as handler for the
specified
Index:
ow-transaction/src/java/org/objectweb/transaction/api/event/EventListenerFeature.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/event/EventListenerFeature.java:1.2
ow-transaction/src/java/org/objectweb/transaction/api/event/EventListenerFeature.java:1.3
---
ow-transaction/src/java/org/objectweb/transaction/api/event/EventListenerFeature.java:1.2
Fri Jul 30 18:43:00 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/event/EventListenerFeature.java
Mon Dec 20 18:23:52 2004
@@ -22,7 +22,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: EventListenerFeature.java,v 1.2 2004/07/30 16:43:00 rouvoy Exp $
+ $Id: EventListenerFeature.java,v 1.3 2004/12/20 17:23:52 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.api.event;
@@ -31,13 +31,14 @@
/**
* Feature providing the list of EventNofiticationFeature registered
elements.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.3 $
+ * @fractal server="evt-listener"
*/
public interface EventListenerFeature
extends Feature
{
- /** ADL Identifier. */
- public static final String EVENT_LISTENER_FEATURE = "evt-listener";
+ /** Fractal ADL Identifier for the <code>EVENT_LISTENER</code>
interface. */
+ public static final String EVENT_LISTENER = "evt-listener";
/**
* Provides the list of all Event elements registered.
Index:
ow-transaction/src/java/org/objectweb/transaction/api/event/EventNotificationFeature.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/event/EventNotificationFeature.java:1.2
ow-transaction/src/java/org/objectweb/transaction/api/event/EventNotificationFeature.java:1.3
---
ow-transaction/src/java/org/objectweb/transaction/api/event/EventNotificationFeature.java:1.2
Fri Jul 30 18:43:00 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/event/EventNotificationFeature.java
Mon Dec 20 18:23:52 2004
@@ -22,7 +22,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: EventNotificationFeature.java,v 1.2 2004/07/30 16:43:00 rouvoy Exp $
+ $Id: EventNotificationFeature.java,v 1.3 2004/12/20 17:23:52 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.api.event;
@@ -31,13 +31,14 @@
/**
* Definition of the Event notification interface.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.3 $
+ * @fractal server="evt-notification"
*/
public interface EventNotificationFeature
extends Feature
{
- /** ADL Identifier. */
- public static final String EVENT_NOTIFICATION_FEATURE =
"evt-notification";
+ /** Fractal ADL Identifier for the <code>EVENT_NOTIFICATION</code>
interface. */
+ public static final String EVENT_NOTIFICATION = "evt-notification";
/**
* Notify handlers of the occurence of an event.
Index:
ow-transaction/src/java/org/objectweb/transaction/api/event/PublishFeature.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/event/PublishFeature.java:1.2
ow-transaction/src/java/org/objectweb/transaction/api/event/PublishFeature.java:1.3
---
ow-transaction/src/java/org/objectweb/transaction/api/event/PublishFeature.java:1.2
Wed Dec 8 16:32:52 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/event/PublishFeature.java
Mon Dec 20 18:23:52 2004
@@ -1,30 +1,30 @@
/*====================================================================
-
-GoTM: GoTM is an open Transaction Monitor
-Copyright (C) 2000-2004 INRIA & USTL - LIFL - GOAL
-Contact: gotm-team@xxxxxxxxxxxxx
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): .
-
----------------------------------------------------------------------
-$Id: PublishFeature.java,v 1.2 2004/12/08 15:32:52 rouvoy Exp $
-====================================================================*/
+
+ GoTM: GoTM is an open Transaction Monitor
+ Copyright (C) 2000-2004 INRIA & USTL - LIFL - GOAL
+ Contact: gotm-team@xxxxxxxxxxxxx
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): .
+
+ ---------------------------------------------------------------------
+ $Id: PublishFeature.java,v 1.3 2004/12/20 17:23:52 rouvoy Exp $
+ ====================================================================*/
package org.objectweb.transaction.api.event;
@@ -34,12 +34,13 @@
/**
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.3 $
+ * @fractal server="publish"
*/
public interface PublishFeature
- extends Feature
+extends Feature
{
- /** Default interface identifier for the PublishFeature interface. */
+ /** Fractal ADL Identifier for the <code>PUBLISH_FEATURE</code>
interface.*/
public static final String PUBLISH_FEATURE = "publish";
/**
Index:
ow-transaction/src/java/org/objectweb/transaction/api/event/SubscribeFeature.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/event/SubscribeFeature.java:1.2
ow-transaction/src/java/org/objectweb/transaction/api/event/SubscribeFeature.java:1.3
---
ow-transaction/src/java/org/objectweb/transaction/api/event/SubscribeFeature.java:1.2
Wed Dec 8 16:32:52 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/event/SubscribeFeature.java
Mon Dec 20 18:23:52 2004
@@ -1,30 +1,30 @@
/*====================================================================
-
-GoTM: GoTM is an open Transaction Monitor
-Copyright (C) 2000-2004 INRIA & USTL - LIFL - GOAL
-Contact: gotm-team@xxxxxxxxxxxxx
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): .
-
----------------------------------------------------------------------
-$Id: SubscribeFeature.java,v 1.2 2004/12/08 15:32:52 rouvoy Exp $
-====================================================================*/
+
+ GoTM: GoTM is an open Transaction Monitor
+ Copyright (C) 2000-2004 INRIA & USTL - LIFL - GOAL
+ Contact: gotm-team@xxxxxxxxxxxxx
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): .
+
+ ---------------------------------------------------------------------
+ $Id: SubscribeFeature.java,v 1.3 2004/12/20 17:23:52 rouvoy Exp $
+ ====================================================================*/
package org.objectweb.transaction.api.event;
@@ -32,23 +32,24 @@
/**
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.3 $
+ * @fractal server="subscribe"
*/
public interface SubscribeFeature
- extends Feature
+extends Feature
{
- /** Default interface identifier for the SubscribeFeature interface. */
+ /** Fractal ADL Identifier for the <code>SUBSCRIBE_FEATURE</code>
interface.*/
public static final String SUBSCRIBE_FEATURE = "subscribe";
/**
- * @param topic
- * @param suscriber
+ * @param topic the subscribing topic.
+ * @param suscriber the handler notified of occurences of the subscribed
topic.
*/
public void subscribe(String topic, PublishFeature suscriber) ;
/**
- * @param topic
- * @param suscriber
+ * @param topic the subscribing topic.
+ * @param suscriber the handler notified of occurences of the subscribed
topic.
*/
public void unsubscribe(String topic, PublishFeature suscriber) ;
}
Index:
ow-transaction/src/java/org/objectweb/transaction/api/lock/ConflictLockCheckFeature.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/lock/ConflictLockCheckFeature.java:1.1
ow-transaction/src/java/org/objectweb/transaction/api/lock/ConflictLockCheckFeature.java:1.2
---
ow-transaction/src/java/org/objectweb/transaction/api/lock/ConflictLockCheckFeature.java:1.1
Tue Mar 23 13:54:25 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/lock/ConflictLockCheckFeature.java
Mon Dec 20 18:23:52 2004
@@ -1,29 +1,29 @@
/*====================================================================
-
-ObjectWeb Transaction Working Group API
-Contact: http://www.objectweb.org
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): ______________________________________.
-
----------------------------------------------------------------------
-$Id: ConflictLockCheckFeature.java,v 1.1 2004/03/23 12:54:25 rouvoy Exp $
-====================================================================*/
+
+ ObjectWeb Transaction Working Group API
+ Contact: http://www.objectweb.org
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): ______________________________________.
+
+ ---------------------------------------------------------------------
+ $Id: ConflictLockCheckFeature.java,v 1.2 2004/12/20 17:23:52 rouvoy Exp $
+ ====================================================================*/
package org.objectweb.transaction.api.lock;
import org.objectweb.transaction.api.Feature;
@@ -32,17 +32,15 @@
* Feature providing a way of checking if two LockMode are conflicting.
*
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
- * @adl.id name="CONFLICT_LOCK_CHECK_FEATURE"
value="conflict-lock-check-feature"
+ * @version $Revision: 1.2 $
+ * @fractal server="conflict-lock-check"
*/
public interface ConflictLockCheckFeature
- extends Feature
+extends Feature
{
- /**
- * ADL Identifier.
- */
- public static final String CONFLICT_LOCK_CHECK_FEATURE =
"conflict-lock-check-feature";
-
+ /** Fractal ADL Identifier for the <code>CONFLICT_LOCK_CHECK</code>
interface.*/
+ public static final String CONFLICT_LOCK_CHECK = "conflict-lock-check";
+
/**
* Checkes if two lock modes are conflicting.
* @param acquired the lock mode acquired.
Index:
ow-transaction/src/java/org/objectweb/transaction/api/lock/ExclusiveLockFeature.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/lock/ExclusiveLockFeature.java:1.1
ow-transaction/src/java/org/objectweb/transaction/api/lock/ExclusiveLockFeature.java:1.2
---
ow-transaction/src/java/org/objectweb/transaction/api/lock/ExclusiveLockFeature.java:1.1
Tue Mar 23 13:54:25 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/lock/ExclusiveLockFeature.java
Mon Dec 20 18:23:52 2004
@@ -1,46 +1,42 @@
/*====================================================================
-
-ObjectWeb Transaction Working Group API
-Contact: http://www.objectweb.org
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): ______________________________________.
-
----------------------------------------------------------------------
-$Id: ExclusiveLockFeature.java,v 1.1 2004/03/23 12:54:25 rouvoy Exp $
-====================================================================*/
+
+ ObjectWeb Transaction Working Group API
+ Contact: http://www.objectweb.org
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): ______________________________________.
+
+ ---------------------------------------------------------------------
+ $Id: ExclusiveLockFeature.java,v 1.2 2004/12/20 17:23:52 rouvoy Exp $
+ ====================================================================*/
package org.objectweb.transaction.api.lock;
/**
* Definition of an exclusive Lock.
- *
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
- *
- * @adl.id name="EXCLUSIVE_LOCK_FEATURE" value="exclusive-lock-feature"
+ * @version $Revision: 1.2 $
+ * @fractal server="exclusive-lock"
*/
public interface ExclusiveLockFeature
- extends ReleaseLockFeature
+extends ReleaseLockFeature
{
- /**
- * ADL Identifier
- */
- public static final String EXCLUSIVE_LOCK_FEATURE =
"exclusive-lock-feature";
+ /** Fractal ADL Identifier for the <code>EXCLUSIVE_LOCK</code>
interface.*/
+ public static final String EXCLUSIVE_LOCK = "exclusive-lock";
/**
* Acquire the Lock.
@@ -48,7 +44,7 @@
* @param id - the lock requester
*/
public void acquire(LockIdentifier id);
-
+
/**
* Try to acquire the Lock.
* This is a non-blocking method.
@@ -56,7 +52,7 @@
* @return true if the lock is acquired - false if the lock can not be
acquired.
*/
public boolean tryAcquire(LockIdentifier id);
-
+
/**
* Check if the Lock is acquired.
* @param id - the lock requester
Index:
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockIdentifier.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockIdentifier.java:1.1
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockIdentifier.java:1.2
---
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockIdentifier.java:1.1
Tue Mar 23 13:54:25 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockIdentifier.java
Mon Dec 20 18:23:52 2004
@@ -1,36 +1,36 @@
/*====================================================================
-
-ObjectWeb Transaction Working Group API
-Contact: http://www.objectweb.org
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): ______________________________________.
-
----------------------------------------------------------------------
-$Id: LockIdentifier.java,v 1.1 2004/03/23 12:54:25 rouvoy Exp $
-====================================================================*/
+
+ ObjectWeb Transaction Working Group API
+ Contact: http://www.objectweb.org
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): ______________________________________.
+
+ ---------------------------------------------------------------------
+ $Id: LockIdentifier.java,v 1.2 2004/12/20 17:23:52 rouvoy Exp $
+ ====================================================================*/
package org.objectweb.transaction.api.lock;
/**
* Defines the interface of a Lock identifier.
*
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.2 $
*/
public interface LockIdentifier
{
Index:
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockMode.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockMode.java:1.2
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockMode.java:1.3
---
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockMode.java:1.2
Wed Dec 8 16:32:52 2004
+++ ow-transaction/src/java/org/objectweb/transaction/api/lock/LockMode.java
Mon Dec 20 18:23:52 2004
@@ -1,29 +1,29 @@
/*====================================================================
-
-ObjectWeb Transaction Working Group API
-Contact: http://www.objectweb.org
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): ______________________________________.
-
----------------------------------------------------------------------
-$Id: LockMode.java,v 1.2 2004/12/08 15:32:52 rouvoy Exp $
-====================================================================*/
+
+ ObjectWeb Transaction Working Group API
+ Contact: http://www.objectweb.org
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): ______________________________________.
+
+ ---------------------------------------------------------------------
+ $Id: LockMode.java,v 1.3 2004/12/20 17:23:52 rouvoy Exp $
+ ====================================================================*/
package org.objectweb.transaction.api.lock;
import org.objectweb.transaction.api.event.Event;
@@ -32,10 +32,10 @@
* Particular Event dealing with different kind of lock mode.
*
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.3 $
*/
public interface LockMode
- extends Event
+extends Event
{
- // TODO: Add the implementation code.
+ // TODO: Add the implementation code.
}
Index:
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockQueueState.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockQueueState.java:1.2
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockQueueState.java:1.3
---
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockQueueState.java:1.2
Wed Dec 8 16:32:52 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockQueueState.java
Mon Dec 20 18:23:52 2004
@@ -1,47 +1,44 @@
/*====================================================================
-
-ObjectWeb Transaction Working Group API
-Contact: http://www.objectweb.org
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): ______________________________________.
-
----------------------------------------------------------------------
-$Id: LockQueueState.java,v 1.2 2004/12/08 15:32:52 rouvoy Exp $
-====================================================================*/
+
+ ObjectWeb Transaction Working Group API
+ Contact: http://www.objectweb.org
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): ______________________________________.
+
+ ---------------------------------------------------------------------
+ $Id: LockQueueState.java,v 1.3 2004/12/20 17:23:52 rouvoy Exp $
+ ====================================================================*/
package org.objectweb.transaction.api.lock;
import org.objectweb.transaction.api.State;
/**
* State describing a queue of acquired locks.
- *
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
- * @adl.id name="LOCK_QUEUE_STATE" value="lock-queue-state"
+ * @version $Revision: 1.3 $
+ * @fractal server="lock-queue"
*/
public interface LockQueueState
- extends State
+extends State
{
- /**
- * ADL Identifier.
- */
- public static final String LOCK_QUEUE_STATE = "lock-queue-state";
+ /** Fractal ADL Identifier for the <code>LOCK_QUEUE</code> interface.*/
+ public static final String LOCK_QUEUE = "lock-queue";
/**
* Add an element to the queue.
Index:
ow-transaction/src/java/org/objectweb/transaction/api/lock/ModeLockFeature.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/lock/ModeLockFeature.java:1.1
ow-transaction/src/java/org/objectweb/transaction/api/lock/ModeLockFeature.java:1.2
---
ow-transaction/src/java/org/objectweb/transaction/api/lock/ModeLockFeature.java:1.1
Tue Mar 23 13:54:25 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/lock/ModeLockFeature.java
Mon Dec 20 18:23:52 2004
@@ -1,29 +1,29 @@
/*====================================================================
-
-ObjectWeb Transaction Working Group API
-Contact: http://www.objectweb.org
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): ______________________________________.
-
----------------------------------------------------------------------
-$Id: ModeLockFeature.java,v 1.1 2004/03/23 12:54:25 rouvoy Exp $
-====================================================================*/
+
+ ObjectWeb Transaction Working Group API
+ Contact: http://www.objectweb.org
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): ______________________________________.
+
+ ---------------------------------------------------------------------
+ $Id: ModeLockFeature.java,v 1.2 2004/12/20 17:23:52 rouvoy Exp $
+ ====================================================================*/
package org.objectweb.transaction.api.lock;
/**
@@ -31,18 +31,15 @@
* A possible specialisation is the Read/Write model.
*
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
- *
- * @adl.id name="MODE_LOCK_FEATURE" value="mode-lock-feature"
+ * @version $Revision: 1.2 $
+ * @fractal server="mode-lock"
*/
public interface ModeLockFeature
- extends ReleaseLockFeature
+extends ReleaseLockFeature
{
- /**
- * ADL Identifier
- */
- public static final String MODE_LOCK_FEATURE = "mode-lock-feature";
-
+ /** Fractal ADL Identifier for the <code>MODE_LOCK</code> interface. */
+ public static final String MODE_LOCK = "mode-lock";
+
/**
* Acquire the Lock with a specific mode.
* If the Lock is not available, the method wait for the release of the
Lock.
@@ -50,7 +47,7 @@
* @param mode - the requested mode of lock.
*/
public void acquire(LockIdentifier id, LockMode mode);
-
+
/**
* Try to acquire the Lock.
* This is a non-blocking method.
@@ -59,7 +56,7 @@
* @return true if the lock is acquired - false if the lock can not be
acquired.
*/
public boolean tryAcquire(LockIdentifier id, LockMode mode);
-
+
/**
* Check if the Lock is acquired.
* @param id - the lock requester.
Index:
ow-transaction/src/java/org/objectweb/transaction/api/lock/ReleaseLockFeature.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/lock/ReleaseLockFeature.java:1.1
ow-transaction/src/java/org/objectweb/transaction/api/lock/ReleaseLockFeature.java:1.2
---
ow-transaction/src/java/org/objectweb/transaction/api/lock/ReleaseLockFeature.java:1.1
Tue Mar 23 13:54:25 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/lock/ReleaseLockFeature.java
Mon Dec 20 18:23:52 2004
@@ -1,29 +1,29 @@
/*====================================================================
-
-ObjectWeb Transaction Working Group API
-Contact: http://www.objectweb.org
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): ______________________________________.
-
----------------------------------------------------------------------
-$Id: ReleaseLockFeature.java,v 1.1 2004/03/23 12:54:25 rouvoy Exp $
-====================================================================*/
+
+ ObjectWeb Transaction Working Group API
+ Contact: http://www.objectweb.org
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): ______________________________________.
+
+ ---------------------------------------------------------------------
+ $Id: ReleaseLockFeature.java,v 1.2 2004/12/20 17:23:52 rouvoy Exp $
+ ====================================================================*/
package org.objectweb.transaction.api.lock;
import org.objectweb.transaction.api.Feature;
@@ -32,21 +32,18 @@
* Abstract Feature Definition for a Lock Feature.
*
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
- *
- * @adl.id name="RELEASE_LOCK_FEATURE" value="release-lock-feature"
+ * @version $Revision: 1.2 $
+ * @fractal server="release-lock"
*/
public interface ReleaseLockFeature
- extends Feature
+extends Feature
{
- /**
- * ADL Identifier
- */
- public static final String RELEASE_LOCK_FEATURE = "release-lock-feature";
+ /** Fractal ADL Identifier for the <code>RELEASE_LOCK</code> interface.
*/
+ public static final String RELEASE_LOCK = "release-lock";
/**
* Release the underlying lock acquired.
- * @param id - identifier of the lock requester
+ * @param id identifier of the lock requester
*/
public void release(LockIdentifier id);
}
Index:
ow-transaction/src/java/org/objectweb/transaction/api/resource/ResourceEvent.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/resource/ResourceEvent.java:1.2
ow-transaction/src/java/org/objectweb/transaction/api/resource/ResourceEvent.java:1.3
---
ow-transaction/src/java/org/objectweb/transaction/api/resource/ResourceEvent.java:1.2
Fri Jul 30 18:43:00 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/resource/ResourceEvent.java
Mon Dec 20 18:23:53 2004
@@ -22,7 +22,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: ResourceEvent.java,v 1.2 2004/07/30 16:43:00 rouvoy Exp $
+ $Id: ResourceEvent.java,v 1.3 2004/12/20 17:23:53 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.api.resource;
@@ -31,11 +31,12 @@
/**
* Root Interface for Events of a Resource
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.3 $
+ * @fractal server="resource-event"
*/
public interface ResourceEvent
- extends Event
+extends Event
{
- /** Identifier for the ADL. */
+ /** Fractal ADL Identifier for the <code>RESOURCE_EVENT</code>
interface. */
public static final String RESOURCE_EVENT = "resource-event" ;
}
Index:
ow-transaction/src/java/org/objectweb/transaction/api/resource/ResourceVote.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/resource/ResourceVote.java:1.2
ow-transaction/src/java/org/objectweb/transaction/api/resource/ResourceVote.java:1.3
---
ow-transaction/src/java/org/objectweb/transaction/api/resource/ResourceVote.java:1.2
Fri Jul 30 18:43:00 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/resource/ResourceVote.java
Mon Dec 20 18:23:53 2004
@@ -22,14 +22,14 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: ResourceVote.java,v 1.2 2004/07/30 16:43:00 rouvoy Exp $
+ $Id: ResourceVote.java,v 1.3 2004/12/20 17:23:53 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.api.resource;
/**
* Description of an Event.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.3 $
*/
public interface ResourceVote
{
Index: ow-transaction/src/java/org/objectweb/transaction/api/stamp/Stamp.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/stamp/Stamp.java:1.1
ow-transaction/src/java/org/objectweb/transaction/api/stamp/Stamp.java:1.2
---
ow-transaction/src/java/org/objectweb/transaction/api/stamp/Stamp.java:1.1
Tue Mar 23 13:54:25 2004
+++ ow-transaction/src/java/org/objectweb/transaction/api/stamp/Stamp.java
Mon Dec 20 18:23:52 2004
@@ -1,34 +1,34 @@
/*====================================================================
-
-ObjectWeb Transaction Working Group API
-Contact: http://www.objectweb.org
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): ______________________________________.
-
-====================================================================*/
+
+ ObjectWeb Transaction Working Group API
+ Contact: http://www.objectweb.org
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): ______________________________________.
+
+ ====================================================================*/
package org.objectweb.transaction.api.stamp;
/**
* Representation of a Stamp
*
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.2 $
*/
public interface Stamp
{
Index:
ow-transaction/src/java/org/objectweb/transaction/api/stamp/StampProviderFeature.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/stamp/StampProviderFeature.java:1.1
ow-transaction/src/java/org/objectweb/transaction/api/stamp/StampProviderFeature.java:1.2
---
ow-transaction/src/java/org/objectweb/transaction/api/stamp/StampProviderFeature.java:1.1
Tue Mar 23 13:54:25 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/stamp/StampProviderFeature.java
Mon Dec 20 18:23:52 2004
@@ -1,27 +1,27 @@
/*====================================================================
-
-ObjectWeb Transaction Working Group API
-Contact: http://www.objectweb.org
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): ______________________________________.
-
-====================================================================*/
+
+ ObjectWeb Transaction Working Group API
+ Contact: http://www.objectweb.org
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): ______________________________________.
+
+ ====================================================================*/
package org.objectweb.transaction.api.stamp;
import org.objectweb.transaction.api.Feature;
@@ -31,17 +31,15 @@
* particular parameter (time, counter, ...).
*
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
- * @adl.id name="STAMP_PROVIDER_FEATURE" value="stamp-provider-feature"
+ * @version $Revision: 1.2 $
+ * @fractal server="stamp-provider"
*/
public interface StampProviderFeature
- extends Feature
+extends Feature
{
- /**
- * ADL Identifier
- */
- public static final String STAMP_PROVIDER_FEATURE =
"stamp-provider-feature";
-
+ /** Fractal ADL Identifier for the <code>STAMP_PROVIDER</code>
interface. */
+ public static final String STAMP_PROVIDER = "stamp-provider";
+
/**
* Provides a stamp.
* @return the instance of the stamp.
Index:
ow-transaction/src/java/org/objectweb/transaction/api/synchronization/SynchronizationEvent.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/synchronization/SynchronizationEvent.java:1.2
ow-transaction/src/java/org/objectweb/transaction/api/synchronization/SynchronizationEvent.java:1.3
---
ow-transaction/src/java/org/objectweb/transaction/api/synchronization/SynchronizationEvent.java:1.2
Wed Dec 8 16:32:52 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/synchronization/SynchronizationEvent.java
Mon Dec 20 18:23:53 2004
@@ -22,7 +22,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
-$Id: SynchronizationEvent.java,v 1.2 2004/12/08 15:32:52 rouvoy Exp $
+$Id: SynchronizationEvent.java,v 1.3 2004/12/20 17:23:53 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.api.synchronization;
@@ -32,7 +32,7 @@
* Root interface for derived synchronization events.
*
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.3 $
*/
public interface SynchronizationEvent
extends Event
Index:
ow-transaction/src/java/org/objectweb/transaction/api/transaction/InvalidTransactionStatusException.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/transaction/InvalidTransactionStatusException.java:1.3
ow-transaction/src/java/org/objectweb/transaction/api/transaction/InvalidTransactionStatusException.java:1.4
---
ow-transaction/src/java/org/objectweb/transaction/api/transaction/InvalidTransactionStatusException.java:1.3
Wed Dec 8 16:32:52 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/transaction/InvalidTransactionStatusException.java
Mon Dec 20 18:23:52 2004
@@ -22,7 +22,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: InvalidTransactionStatusException.java,v 1.3 2004/12/08 15:32:52
rouvoy Exp $
+ $Id: InvalidTransactionStatusException.java,v 1.4 2004/12/20 17:23:52
rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.api.transaction;
@@ -30,10 +30,23 @@
* Exception raised when the TransactionStatus is conflictual with the
* current transaction.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.4 $
*/
public class InvalidTransactionStatusException
- extends Exception
+extends Exception
{
- // TODO: Add the implementation code.
+ /**
+ * @param msg the cause of the exception.
+ */
+ public InvalidTransactionStatusException(String msg) {
+ super(msg);
+ }
+
+ /**
+ * @param msg the cause of the exception.
+ * @param ex the delegated exception.
+ */
+ public InvalidTransactionStatusException(String msg, Throwable ex) {
+ super(msg, ex);
+ }
}
Index:
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionActivationFeature.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionActivationFeature.java:1.4
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionActivationFeature.java:1.5
---
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionActivationFeature.java:1.4
Thu Dec 9 10:57:36 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionActivationFeature.java
Mon Dec 20 18:23:52 2004
@@ -22,7 +22,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: TransactionActivationFeature.java,v 1.4 2004/12/09 09:57:36 rouvoy Exp
$
+ $Id: TransactionActivationFeature.java,v 1.5 2004/12/20 17:23:52 rouvoy Exp
$
====================================================================*/
package org.objectweb.transaction.api.transaction;
@@ -30,18 +30,15 @@
/**
* Defines the operation allowed when activating transactions.
- *
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
- * @fractal.adl interface="tx-activation"
+ * @version $Revision: 1.5 $
+ * @fractal server="tx-activation"
*/
public interface TransactionActivationFeature
- extends Feature
+extends Feature
{
- /**
- * Identifier for the ADL.
- */
- public static final String TX_ACTIVATION_FEATURE = "tx-activation";
+ /** Fractal ADL Identifier for the <code>TX_ACTIVATION</code>
interface.*/
+ public static final String TX_ACTIVATION = "tx-activation";
/**
* Starts a new transaction process.
Index:
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionInterruptionFeature.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionInterruptionFeature.java:1.2
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionInterruptionFeature.java:1.3
---
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionInterruptionFeature.java:1.2
Fri Jul 30 18:43:00 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionInterruptionFeature.java
Mon Dec 20 18:23:52 2004
@@ -22,7 +22,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: TransactionInterruptionFeature.java,v 1.2 2004/07/30 16:43:00 rouvoy
Exp $
+ $Id: TransactionInterruptionFeature.java,v 1.3 2004/12/20 17:23:52 rouvoy
Exp $
====================================================================*/
package org.objectweb.transaction.api.transaction;
@@ -31,13 +31,14 @@
/**
* Feature dealing with the interruption of a transaction.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.3 $
+ * @fractal server="tx-interruption"
*/
public interface TransactionInterruptionFeature
- extends Feature
+extends Feature
{
- /** ADL Identifier. */
- public static final String TRANSACTION_INTERRUPTION_FEATURE
="tx-interruption";
+ /** Fractal ADL Identifier for the <code>TRANSACTION_INTERRUPTION</code>
interface. */
+ public static final String TRANSACTION_INTERRUPTION ="tx-interruption";
/**
* Allows to suspend an active transaction.
Index:
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionState.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionState.java:1.2
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionState.java:1.3
---
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionState.java:1.2
Fri Jul 30 18:43:00 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionState.java
Mon Dec 20 18:23:52 2004
@@ -22,7 +22,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: TransactionState.java,v 1.2 2004/07/30 16:43:00 rouvoy Exp $
+ $Id: TransactionState.java,v 1.3 2004/12/20 17:23:52 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.api.transaction;
@@ -31,12 +31,13 @@
/**
* Description of the Transaction State.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.3 $
+ * @fractal server="tx-state"
*/
public interface TransactionState
- extends State
+extends State
{
- /** Identifier for the ADL. */
+ /** Fractal ADL Identifier for the <code>TRANSACTION_STATE</code>
interface. */
public static final String TRANSACTION_STATE = "tx-state";
/**
Index:
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionStatus.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionStatus.java:1.2
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionStatus.java:1.3
---
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionStatus.java:1.2
Fri Jul 30 18:43:00 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionStatus.java
Mon Dec 20 18:23:52 2004
@@ -22,7 +22,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: TransactionStatus.java,v 1.2 2004/07/30 16:43:00 rouvoy Exp $
+ $Id: TransactionStatus.java,v 1.3 2004/12/20 17:23:52 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.api.transaction;
@@ -31,11 +31,12 @@
/**
* Description of the status of a transaction.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.3 $
+ * @fractal server="status"
*/
public interface TransactionStatus
- extends Event
+extends Event
{
- /** Identifier for the ADL. */
- public static final String TRANSACTION_STATUS = "transaction-status";
+ /** Fractal ADL Identifier for the <code>TRANSACTION_STATUS</code>
interface. */
+ public static final String TRANSACTION_STATUS = "status";
}
Index:
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionStatusFeature.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionStatusFeature.java:1.2
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionStatusFeature.java:1.3
---
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionStatusFeature.java:1.2
Fri Jul 30 18:43:00 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/transaction/TransactionStatusFeature.java
Mon Dec 20 18:23:52 2004
@@ -22,7 +22,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: TransactionStatusFeature.java,v 1.2 2004/07/30 16:43:00 rouvoy Exp $
+ $Id: TransactionStatusFeature.java,v 1.3 2004/12/20 17:23:52 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.api.transaction;
@@ -31,13 +31,14 @@
/**
* Feature providing an access to the current status value.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.3 $
+ * @fractal server="tx-status"
*/
public interface TransactionStatusFeature
- extends Feature
+extends Feature
{
- /** Identifier for the ADL. */
- public static final String STATUS_FEATURE = "tx-status";
+ /** Fractal ADL Identifier for the <code>TX_STATUS</code> interface. */
+ public static final String TX_STATUS = "tx-status";
/**
* Provides the value of the current status.
Index: ow-transaction/src/java/org/objectweb/transaction/api/xid/XidState.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/xid/XidState.java:1.2
ow-transaction/src/java/org/objectweb/transaction/api/xid/XidState.java:1.3
---
ow-transaction/src/java/org/objectweb/transaction/api/xid/XidState.java:1.2
Fri Jul 30 18:43:01 2004
+++ ow-transaction/src/java/org/objectweb/transaction/api/xid/XidState.java
Mon Dec 20 18:23:52 2004
@@ -22,7 +22,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: XidState.java,v 1.2 2004/07/30 16:43:01 rouvoy Exp $
+ $Id: XidState.java,v 1.3 2004/12/20 17:23:52 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.api.xid;
@@ -39,14 +39,14 @@
* Transaction Identifier; the following Branch Qualifier Length
bytes
* correspond to the Branch Qualifier part of the XID</li>
* </ul>
- *
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.3 $
+ * @fractal server="xid-state"
*/
public interface XidState
- extends State
+extends State
{
- /** ADL Identifier. */
+ /** Fractal ADL Identifier for the <code>XID_STATE</code> interface. */
public static final String XID_STATE = "xid-state";
/** Branch Qualifier Minimal Length. */
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/event/AbstractEvent.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/event/AbstractEvent.java:1.4
ow-transaction/src/java/org/objectweb/transaction/lib/event/AbstractEvent.java:1.5
---
ow-transaction/src/java/org/objectweb/transaction/lib/event/AbstractEvent.java:1.4
Wed Dec 8 16:32:52 2004
+++
ow-transaction/src/java/org/objectweb/transaction/lib/event/AbstractEvent.java
Mon Dec 20 18:23:52 2004
@@ -1,28 +1,28 @@
/*====================================================================
-
+
ObjectWeb Transaction Working Group API
Contact: http://www.objectweb.org
-
+
This library 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 any later version.
-
+
This library 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 library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
-
+
Initial developer(s): Romain Rouvoy.
Contributor(s): ______________________________________.
-
+
---------------------------------------------------------------------
- $Id: AbstractEvent.java,v 1.4 2004/12/08 15:32:52 rouvoy Exp $
+ $Id: AbstractEvent.java,v 1.5 2004/12/20 17:23:52 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.lib.event;
@@ -34,18 +34,18 @@
/**
* Base class for event manipulation.
- *
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.5 $
*/
public abstract class AbstractEvent
- implements Event {
-
+implements Event
+{
+
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getValue()
*/
public abstract int getValue() ;
-
+
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getEvent()
*/
@@ -57,7 +57,6 @@
public String getLabel() {
return toString();
}
-
/**
* Serialize the event.
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventCommit.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventCommit.java:1.2
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventCommit.java:1.3
---
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventCommit.java:1.2
Fri Jul 30 18:43:00 2004
+++
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventCommit.java
Mon Dec 20 18:23:53 2004
@@ -1,29 +1,29 @@
/*====================================================================
-
-ObjectWeb Transaction Working Group API
-Contact: http://www.objectweb.org
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): ______________________________________.
-
----------------------------------------------------------------------
-$Id: ResourceEventCommit.java,v 1.2 2004/07/30 16:43:00 rouvoy Exp $
-====================================================================*/
+
+ ObjectWeb Transaction Working Group API
+ Contact: http://www.objectweb.org
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): ______________________________________.
+
+ ---------------------------------------------------------------------
+ $Id: ResourceEventCommit.java,v 1.3 2004/12/20 17:23:53 rouvoy Exp $
+ ====================================================================*/
package org.objectweb.transaction.lib.resource;
import org.objectweb.transaction.api.event.Event;
@@ -33,28 +33,26 @@
/**
* ResourceEvent for the commit operation.
- *
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- *
- * @version 0.1
+ * @version $Revision: 1.3 $
*/
public class ResourceEventCommit
- extends AbstractEvent
- implements ResourceEvent
+extends AbstractEvent
+implements ResourceEvent
{
/** Int value of the event <i>Commit</i>. */
public final static int value = 1 ;
-
+
/** Object value of the event <i>Commit</i>. */
public final static ResourceEvent event = new ResourceEventCommit();
-
+
/* (non-Javadoc)
* @see org.objectweb.gotm.api.resource.ResourceEvent#getValue()
*/
public int getValue() {
return value;
}
-
+
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getEvent()
*/
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventContext.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventContext.java:1.1
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventContext.java:1.2
---
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventContext.java:1.1
Tue Mar 23 13:54:26 2004
+++
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventContext.java
Mon Dec 20 18:23:53 2004
@@ -1,38 +1,37 @@
/*====================================================================
-
-ObjectWeb Transaction Working Group API
-Contact: http://www.objectweb.org
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): ______________________________________.
-
----------------------------------------------------------------------
-$Id: ResourceEventContext.java,v 1.1 2004/03/23 12:54:26 rouvoy Exp $
-====================================================================*/
+
+ ObjectWeb Transaction Working Group API
+ Contact: http://www.objectweb.org
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): ______________________________________.
+
+ ---------------------------------------------------------------------
+ $Id: ResourceEventContext.java,v 1.2 2004/12/20 17:23:53 rouvoy Exp $
+ ====================================================================*/
package org.objectweb.transaction.lib.resource;
import org.objectweb.transaction.api.event.Event;
/**
* Root interface for Event contexts.
- *
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.2 $
*/
public interface ResourceEventContext
{
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventRollback.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventRollback.java:1.2
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventRollback.java:1.3
---
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventRollback.java:1.2
Fri Jul 30 18:43:00 2004
+++
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventRollback.java
Mon Dec 20 18:23:53 2004
@@ -1,29 +1,29 @@
/*====================================================================
-
-ObjectWeb Transaction Working Group API
-Contact: http://www.objectweb.org
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): ______________________________________.
-
----------------------------------------------------------------------
-$Id: ResourceEventRollback.java,v 1.2 2004/07/30 16:43:00 rouvoy Exp $
-====================================================================*/
+
+ ObjectWeb Transaction Working Group API
+ Contact: http://www.objectweb.org
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): ______________________________________.
+
+ ---------------------------------------------------------------------
+ $Id: ResourceEventRollback.java,v 1.3 2004/12/20 17:23:53 rouvoy Exp $
+ ====================================================================*/
package org.objectweb.transaction.lib.resource;
import org.objectweb.transaction.api.event.Event;
@@ -32,27 +32,26 @@
/**
* ResourceEvent representing the rollback operation.
- *
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.3 $
*/
public class ResourceEventRollback
- extends AbstractEvent
- implements ResourceEvent
+extends AbstractEvent
+implements ResourceEvent
{
/** Int value of the event <i>Rollback</i>. */
public final static int value = 2 ;
/** Object value of the event <i>Rollback</i>. */
public final static ResourceEvent event = new ResourceEventRollback();
-
+
/* (non-Javadoc)
* @see org.objectweb.gotm.api.resource.ResourceEvent#getValue()
*/
public int getValue() {
return value;
}
-
+
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getEvent()
*/
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventVote.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventVote.java:1.2
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventVote.java:1.3
---
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventVote.java:1.2
Fri Jul 30 18:43:00 2004
+++
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventVote.java
Mon Dec 20 18:23:53 2004
@@ -1,29 +1,29 @@
/*====================================================================
-
-ObjectWeb Transaction Working Group API
-Contact: http://www.objectweb.org
-
-This library 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 any later version.
-
-This library 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 library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-USA
-
-Initial developer(s): Romain Rouvoy.
-Contributor(s): ______________________________________.
-
----------------------------------------------------------------------
-$Id: ResourceEventVote.java,v 1.2 2004/07/30 16:43:00 rouvoy Exp $
-====================================================================*/
+
+ ObjectWeb Transaction Working Group API
+ Contact: http://www.objectweb.org
+
+ This library 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 any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): ______________________________________.
+
+ ---------------------------------------------------------------------
+ $Id: ResourceEventVote.java,v 1.3 2004/12/20 17:23:53 rouvoy Exp $
+ ====================================================================*/
package org.objectweb.transaction.lib.resource;
import org.objectweb.transaction.api.event.Event;
@@ -35,25 +35,25 @@
* ResourceEvent for the prepare operation.
*
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.3 $
*/
public class ResourceEventVote
- extends AbstractEvent
- implements ResourceEvent
+extends AbstractEvent
+implements ResourceEvent
{
/** Int value of the event <i>ResourceVote</i>. */
public final static int value = 0 ;
-
+
/** Object value of the event <i>ResourceVote</i>. */
public final static ResourceEvent event = new ResourceEventVote();
-
+
/* (non-Javadoc)
* @see org.objectweb.gotm.api.resource.ResourceEvent#getValue()
*/
public int getValue() {
return value;
}
-
+
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getEvent()
*/
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceVoteCommit.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceVoteCommit.java:1.1
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceVoteCommit.java:1.2
---
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceVoteCommit.java: