Mail Archive Home | gotm-commits List | August 2005 Index
| <-- Date Index --> | <-- Thread Index --> |
Date: Tuesday, August 16, 2005 @ 15:36:22
Author: rouvoy
Path: /cvsroot/gotm/ow-transaction/src/java/org/objectweb/transaction
Added: api/lock/Lock.java api/lock/LockFeature.java
lib/dependency/DependencyTypeCausal.java
lib/dependency/DependencyTypeOrder.java
lib/dependency/DependencyTypeWeakCausal.java
lib/lock/ReadLockMode.java lib/lock/WriteLockMode.java
Modified: api/coordination/CoordinationFeature.java api/event/Event.java
api/event/PublishFeature.java api/resource/ResourceVote.java
lib/event/EventAbstract.java
lib/resource/ResourceEventCommit.java
lib/resource/ResourceEventRollback.java
lib/resource/ResourceEventVote.java
lib/resource/ResourceVoteCommit.java
lib/resource/ResourceVoteReadOnly.java
lib/resource/ResourceVoteRollback.java
lib/synchronization/SynchronizationEventAfterCompletion.java
lib/synchronization/SynchronizationEventBeforeCompletion.java
lib/transaction/TransactionStatusCommitted.java
lib/transaction/TransactionStatusCommitting.java
lib/transaction/TransactionStatusMarkedRollback.java
lib/transaction/TransactionStatusNoTransaction.java
lib/transaction/TransactionStatusPrepared.java
lib/transaction/TransactionStatusPreparing.java
lib/transaction/TransactionStatusRolledBack.java
lib/transaction/TransactionStatusRollingBack.java
lib/transaction/TransactionStatusTransactionActive.java
lib/transaction/TransactionStatusTransactionInactive.java
lib/transaction/TransactionStatusUnknown.java
Removed: api/conflict/ConflictCheckFeature.java
api/conflict/ConflitOperationFeature.java
api/conflict/package.html api/conflict/package.html
api/event/EventContext.java
api/event/EventEnlistmentFeature.java
api/event/EventListenerFeature.java
api/event/EventNotificationFeature.java
api/lock/ConflictLockCheckFeature.java
api/lock/ExclusiveLockFeature.java api/lock/LockIdentifier.java
api/lock/LockQueueState.java api/lock/ModeLockFeature.java
api/lock/ReleaseLockFeature.java
lib/resource/ResourceEventContext.java
lib/transaction/DependencyTypeCausal.java
lib/transaction/DependencyTypeOrder.java
lib/transaction/DependencyTypeWeakCausal.java
* cleanup of project source code,
* correcting bad definition name in the HOWL logger component definition,
* removing fractal lifecycle interceptor generation,
* moving event bus subscription from initFc() callback to startFc() callback,
* updating benchmark parameters,
* cosmetic updates
---------------------------------------------------------------+
api/conflict/ConflictCheckFeature.java | 51 -------
api/conflict/ConflitOperationFeature.java | 51 -------
api/conflict/package.html | 36 -----
api/coordination/CoordinationFeature.java | 8 -
api/event/Event.java | 14 -
api/event/EventContext.java | 58 --------
api/event/EventEnlistmentFeature.java | 61 --------
api/event/EventListenerFeature.java | 60 --------
api/event/EventNotificationFeature.java | 51 -------
api/event/PublishFeature.java | 10 -
api/lock/ConflictLockCheckFeature.java | 51 -------
api/lock/ExclusiveLockFeature.java | 63 --------
api/lock/Lock.java | 46 ++++++
api/lock/LockFeature.java | 57 ++++++++
api/lock/LockIdentifier.java | 43 ------
api/lock/LockQueueState.java | 48 ------
api/lock/ModeLockFeature.java | 67
---------
api/lock/ReleaseLockFeature.java | 49 ------
api/resource/ResourceVote.java | 8 -
lib/dependency/DependencyTypeCausal.java | 63 ++++++++
lib/dependency/DependencyTypeOrder.java | 61 ++++++++
lib/dependency/DependencyTypeWeakCausal.java | 62 ++++++++
lib/event/EventAbstract.java | 16 +-
lib/lock/ReadLockMode.java | 71
++++++++++
lib/lock/WriteLockMode.java | 71
++++++++++
lib/resource/ResourceEventCommit.java | 6
lib/resource/ResourceEventContext.java | 44 ------
lib/resource/ResourceEventRollback.java | 6
lib/resource/ResourceEventVote.java | 6
lib/resource/ResourceVoteCommit.java | 8 -
lib/resource/ResourceVoteReadOnly.java | 8 -
lib/resource/ResourceVoteRollback.java | 8 -
lib/synchronization/SynchronizationEventAfterCompletion.java | 6
lib/synchronization/SynchronizationEventBeforeCompletion.java | 6
lib/transaction/DependencyTypeCausal.java | 63 --------
lib/transaction/DependencyTypeOrder.java | 61 --------
lib/transaction/DependencyTypeWeakCausal.java | 62 --------
lib/transaction/TransactionStatusCommitted.java | 8 -
lib/transaction/TransactionStatusCommitting.java | 8 -
lib/transaction/TransactionStatusMarkedRollback.java | 8 -
lib/transaction/TransactionStatusNoTransaction.java | 8 -
lib/transaction/TransactionStatusPrepared.java | 8 -
lib/transaction/TransactionStatusPreparing.java | 8 -
lib/transaction/TransactionStatusRolledBack.java | 8 -
lib/transaction/TransactionStatusRollingBack.java | 8 -
lib/transaction/TransactionStatusTransactionActive.java | 8 -
lib/transaction/TransactionStatusTransactionInactive.java | 8 -
lib/transaction/TransactionStatusUnknown.java | 8 -
48 files changed, 530 insertions(+), 1018 deletions(-)
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.3
ow-transaction/src/java/org/objectweb/transaction/api/conflict/ConflictCheckFeature.java:removed
---
ow-transaction/src/java/org/objectweb/transaction/api/conflict/ConflictCheckFeature.java:1.3
Fri Jan 14 17:51:30 2005
+++
ow-transaction/src/java/org/objectweb/transaction/api/conflict/ConflictCheckFeature.java
Tue Aug 16 15:36:22 2005
@@ -1,51 +0,0 @@
-/*====================================================================
-
- ObjectWeb Transaction Working Group API
- Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
- 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.3 2005/01/14 16:51:30 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>
- * @created 5 janv. 2005
- * @modified $Date: 2005/01/14 16:51:30 $
- * @version $Revision: 1.3 $
- * @fractal.itf name="conflict-check"
- */
-public interface ConflictCheckFeature
-extends 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
- */
- public boolean checkConflict();
-}
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.3
ow-transaction/src/java/org/objectweb/transaction/api/conflict/ConflitOperationFeature.java:removed
---
ow-transaction/src/java/org/objectweb/transaction/api/conflict/ConflitOperationFeature.java:1.3
Fri Jan 14 17:51:30 2005
+++
ow-transaction/src/java/org/objectweb/transaction/api/conflict/ConflitOperationFeature.java
Tue Aug 16 15:36:22 2005
@@ -1,51 +0,0 @@
-/*====================================================================
-
- ObjectWeb Transaction Working Group API
- Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
- 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.3 2005/01/14 16:51:30 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>
- * @created 5 janv. 2005
- * @modified $Date: 2005/01/14 16:51:30 $
- * @version $Revision: 1.3 $
- * @fractal.itf name="conflict-operation"
- */
-public interface ConflitOperationFeature
-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.
- */
- public String getOperation();
-}
Index:
ow-transaction/src/java/org/objectweb/transaction/api/conflict/package.html
diff -u
ow-transaction/src/java/org/objectweb/transaction/api/conflict/package.html:1.1
ow-transaction/src/java/org/objectweb/transaction/api/conflict/package.html:removed
---
ow-transaction/src/java/org/objectweb/transaction/api/conflict/package.html:1.1
Tue Mar 23 13:54:25 2004
+++
ow-transaction/src/java/org/objectweb/transaction/api/conflict/package.html
Tue Aug 16 15:36:22 2005
@@ -1,36 +0,0 @@
-<!-- ==================================================================== -->
-
-<!-- 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: package.html,v 1.1 2004/03/23 12:54:25 rouvoy Exp $ -->
-<!-- ==================================================================== -->
-<html>
- <body>
- <p>
- Specification of the <b>Conflict</b> API.
- </p>
- <p>
- This part includes only the interfaces dealing with the purpose of
conflicts.
- It means that this module allows to define the notion of conflict
between a set of operations.
- </p>
- </body>
-</html>
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.5
ow-transaction/src/java/org/objectweb/transaction/api/coordination/CoordinationFeature.java:1.6
---
ow-transaction/src/java/org/objectweb/transaction/api/coordination/CoordinationFeature.java:1.5
Mon Jul 11 10:27:02 2005
+++
ow-transaction/src/java/org/objectweb/transaction/api/coordination/CoordinationFeature.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: CoordinationFeature.java,v 1.5 2005/07/11 08:27:02 rouvoy Exp $
+ $Id: CoordinationFeature.java,v 1.6 2005/08/16 13:36:21 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.api.coordination;
@@ -35,8 +35,8 @@
* Feature of validation for the commit engine.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
* @created 5 janv. 2005
- * @modified $Date: 2005/07/11 08:27:02 $
- * @version $Revision: 1.5 $
+ * @modified $Date: 2005/08/16 13:36:21 $
+ * @version $Revision: 1.6 $
* @fractal.itf name="coord-process"
*/
public interface CoordinationFeature
@@ -49,5 +49,5 @@
* Order for executing a Validation Process.
* @param context Contextual information.
*/
- public void process(Map context);
+ public void execute(Map context);
}
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.7
ow-transaction/src/java/org/objectweb/transaction/api/event/Event.java:1.8
---
ow-transaction/src/java/org/objectweb/transaction/api/event/Event.java:1.7
Mon Jul 18 09:30:07 2005
+++ ow-transaction/src/java/org/objectweb/transaction/api/event/Event.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: Event.java,v 1.7 2005/07/18 07:30:07 rouvoy Exp $
+ $Id: Event.java,v 1.8 2005/08/16 13:36:21 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.api.event;
@@ -33,8 +33,8 @@
* Description of an Event.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
* @created 5 janv. 2005
- * @modified $Date: 2005/07/18 07:30:07 $
- * @version $Revision: 1.7 $
+ * @modified $Date: 2005/08/16 13:36:21 $
+ * @version $Revision: 1.8 $
* @fractal.itf name="event"
*/
public interface Event
@@ -47,24 +47,24 @@
* Provides the int value associated to this event.
* @return the internal value.
*/
- public Integer getValue();
+ public Integer value();
/**
* Provides the instance of the underlying event.
* @return the event instance.
*/
- public Event getEvent();
+ public Event event();
/**
* Provides the instance of the underlying event.
* @return the event instance.
*/
- public Event getLeavingEvent();
+ public Event leavingEvent();
/**
* @return the label of the event.
*/
- public String getLabel();
+ public String label();
/**
* @return true is the event is a leaving state.
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.5
ow-transaction/src/java/org/objectweb/transaction/api/event/EventContext.java:removed
---
ow-transaction/src/java/org/objectweb/transaction/api/event/EventContext.java:1.5
Fri Jan 14 17:51:30 2005
+++
ow-transaction/src/java/org/objectweb/transaction/api/event/EventContext.java
Tue Aug 16 15:36:22 2005
@@ -1,58 +0,0 @@
-/*====================================================================
-
- ObjectWeb Transaction Working Group API
- Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
- 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: EventContext.java,v 1.5 2005/01/14 16:51:30 rouvoy Exp $
- ====================================================================*/
-package org.objectweb.transaction.api.event;
-
-/**
- * Root interface for Event contexts.
- * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @created 5 janv. 2005
- * @modified $Date: 2005/01/14 16:51:30 $
- * @version $Revision: 1.5 $
- */
-public interface EventContext
-{
- /**
- * Provides the associated event.
- * @return the value of the event raised.
- */
- public Event getEvent();
-
- /**
- * Adds a constextual property to the event.
- * @param key the key of the property.
- * @param value the associated value.
- */
- public void put(Object key, Object value);
-
- /**
- * Retrieves a contextual property of the event.
- * @param key the key to search the property.
- * @return the value associated to the key (null if key not found).
- */
- public Object get(Object key);
-}
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.4
ow-transaction/src/java/org/objectweb/transaction/api/event/EventEnlistmentFeature.java:removed
---
ow-transaction/src/java/org/objectweb/transaction/api/event/EventEnlistmentFeature.java:1.4
Fri Jan 14 17:51:30 2005
+++
ow-transaction/src/java/org/objectweb/transaction/api/event/EventEnlistmentFeature.java
Tue Aug 16 15:36:22 2005
@@ -1,61 +0,0 @@
-/*====================================================================
-
- ObjectWeb Transaction Working Group API
- Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
- 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: EventEnlistmentFeature.java,v 1.4 2005/01/14 16:51:30 rouvoy Exp $
- ====================================================================*/
-package org.objectweb.transaction.api.event;
-
-import org.objectweb.transaction.api.Feature;
-
-/**
- * Feature allowing the enlistment of EventNotificationFeature interfaces.
- * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @created 5 janv. 2005
- * @modified $Date: 2005/01/14 16:51:30 $
- * @version $Revision: 1.4 $
- * @fractal.itf name="evt-enlistment"
- */
-public interface EventEnlistmentFeature
-extends Feature
-{
- /** 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
- * Event.
- * @param evt the event to be notified.
- * @param hdl the handler to enlist.
- */
- public void enlist(Event evt, EventNotificationFeature hdl);
-
- /**
- * Delist an EventNotificationFeature interface as handler for the
specified
- * Event.
- * @param evt the event to forget.
- * @param hdl the handler to delist.
- */
- public void delist(Event evt, EventNotificationFeature hdl);
-}
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.4
ow-transaction/src/java/org/objectweb/transaction/api/event/EventListenerFeature.java:removed
---
ow-transaction/src/java/org/objectweb/transaction/api/event/EventListenerFeature.java:1.4
Fri Jan 14 17:51:30 2005
+++
ow-transaction/src/java/org/objectweb/transaction/api/event/EventListenerFeature.java
Tue Aug 16 15:36:22 2005
@@ -1,60 +0,0 @@
-/*====================================================================
-
- ObjectWeb Transaction Working Group API
- Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
- 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: EventListenerFeature.java,v 1.4 2005/01/14 16:51:30 rouvoy Exp $
- ====================================================================*/
-package org.objectweb.transaction.api.event;
-
-import org.objectweb.transaction.api.Feature;
-
-/**
- * Feature providing the list of EventNofiticationFeature registered
elements.
- * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @created 5 janv. 2005
- * @modified $Date: 2005/01/14 16:51:30 $
- * @version $Revision: 1.4 $
- * @fractal.itf name="evt-listener"
- */
-public interface EventListenerFeature
-extends Feature
-{
- /** 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.
- * independently of the suscribed event.
- * @return the list of all EventNotificationFeature
- */
- public Event[] getEvents();
-
- /**
- * Provides the list of EventNotificationFeature registered for the
- * specified Event type.
- * @param evt the type of Event
- * @return the list of EventNotificationFeature corresponding to the
Event type.
- */
- public EventNotificationFeature[] getListeners(Event evt);
-}
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.4
ow-transaction/src/java/org/objectweb/transaction/api/event/EventNotificationFeature.java:removed
---
ow-transaction/src/java/org/objectweb/transaction/api/event/EventNotificationFeature.java:1.4
Fri Jan 14 17:51:30 2005
+++
ow-transaction/src/java/org/objectweb/transaction/api/event/EventNotificationFeature.java
Tue Aug 16 15:36:22 2005
@@ -1,51 +0,0 @@
-/*====================================================================
-
- ObjectWeb Transaction Working Group API
- Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
- 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: EventNotificationFeature.java,v 1.4 2005/01/14 16:51:30 rouvoy Exp $
- ====================================================================*/
-package org.objectweb.transaction.api.event;
-
-import org.objectweb.transaction.api.Feature;
-
-/**
- * Definition of the Event notification interface.
- * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @created 5 janv. 2005
- * @modified $Date: 2005/01/14 16:51:30 $
- * @version $Revision: 1.4 $
- * @fractal.itf name="evt-notification"
- */
-public interface EventNotificationFeature
- extends Feature
-{
- /** 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.
- * @param ctx the context in which the event occurs.
- */
- public void notify(EventContext ctx);
-}
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.7
ow-transaction/src/java/org/objectweb/transaction/api/event/PublishFeature.java:1.8
---
ow-transaction/src/java/org/objectweb/transaction/api/event/PublishFeature.java:1.7
Fri Aug 12 14:31:25 2005
+++
ow-transaction/src/java/org/objectweb/transaction/api/event/PublishFeature.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): .
---------------------------------------------------------------------
- $Id: PublishFeature.java,v 1.7 2005/08/12 12:31:25 rouvoy Exp $
+ $Id: PublishFeature.java,v 1.8 2005/08/16 13:36:21 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.api.event;
@@ -35,8 +35,8 @@
/**
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
* @created 5 janv. 2005
- * @modified $Date: 2005/08/12 12:31:25 $
- * @version $Revision: 1.7 $
+ * @modified $Date: 2005/08/16 13:36:21 $
+ * @version $Revision: 1.8 $
* @fractal.itf name="publish"
*/
public interface PublishFeature
@@ -48,11 +48,11 @@
* @param topic
* @param context
*/
- public void notify(Event topic, Map context);
+ void notify(Event topic, Map context);
/**
* Provides the set of events handled by the component.
* @return the events handled by the current component.
*/
- public Event[] getEvents();
+ Event[] events();
}
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.3
ow-transaction/src/java/org/objectweb/transaction/api/lock/ConflictLockCheckFeature.java:removed
---
ow-transaction/src/java/org/objectweb/transaction/api/lock/ConflictLockCheckFeature.java:1.3
Fri Jan 14 17:51:31 2005
+++
ow-transaction/src/java/org/objectweb/transaction/api/lock/ConflictLockCheckFeature.java
Tue Aug 16 15:36:22 2005
@@ -1,51 +0,0 @@
-/*====================================================================
-
- ObjectWeb Transaction Working Group API
- Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
- 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.3 2005/01/14 16:51:31 rouvoy Exp $
- ====================================================================*/
-package org.objectweb.transaction.api.lock;
-
-import org.objectweb.transaction.api.Feature;
-
-/**
- * Feature providing a way of checking if two LockMode are conflicting.
- * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.3 $
- * @fractal.itf name="conflict-lock-check"
- */
-public interface ConflictLockCheckFeature
-extends 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.
- * @param requested the lock mode requested.
- * @return true if the two modes are conflicting (false if
non-conflicting).
- */
- public boolean isConflict(LockMode acquired, LockMode requested);
-}
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.3
ow-transaction/src/java/org/objectweb/transaction/api/lock/ExclusiveLockFeature.java:removed
---
ow-transaction/src/java/org/objectweb/transaction/api/lock/ExclusiveLockFeature.java:1.3
Fri Jan 14 17:51:31 2005
+++
ow-transaction/src/java/org/objectweb/transaction/api/lock/ExclusiveLockFeature.java
Tue Aug 16 15:36:22 2005
@@ -1,63 +0,0 @@
-/*====================================================================
-
- ObjectWeb Transaction Working Group API
- Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
- 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.3 2005/01/14 16:51:31 rouvoy Exp $
- ====================================================================*/
-package org.objectweb.transaction.api.lock;
-
-/**
- * Definition of an exclusive Lock.
- * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.3 $
- * @fractal.itf name="exclusive-lock"
- */
-public interface ExclusiveLockFeature
-extends ReleaseLockFeature
-{
- /** Fractal ADL Identifier for the <code>EXCLUSIVE_LOCK</code>
interface.*/
- public static final String EXCLUSIVE_LOCK = "exclusive-lock";
-
- /**
- * Acquire the Lock.
- * If the Lock is not available, the method wait for the release of the
Lock
- * @param id - the lock requester
- */
- public void acquire(LockIdentifier id);
-
- /**
- * Try to acquire the Lock.
- * This is a non-blocking method.
- * @param id - the lock requester
- * @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
- * @return true if the lock is currently acquired - false if the lock is
not acquired.
- */
- public boolean isAcquired(LockIdentifier id);
-}
Index: ow-transaction/src/java/org/objectweb/transaction/api/lock/Lock.java
diff -u /dev/null
ow-transaction/src/java/org/objectweb/transaction/api/lock/Lock.java:1.1
--- /dev/null Tue Aug 16 15:36:22 2005
+++ ow-transaction/src/java/org/objectweb/transaction/api/lock/Lock.java
Tue Aug 16 15:36:21 2005
@@ -0,0 +1,46 @@
+/*====================================================================
+
+ ObjectWeb Transaction Working Group API
+ Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
+ 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: Lock.java,v 1.1 2005/08/16 13:36:21 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 $Revision: 1.1 $
+ */
+public interface Lock
+{
+ /**
+ *
+ */
+ void unlock();
+
+ /**
+ * @return the lock mode currently acquired.
+ */
+ LockMode mode();
+}
\ No newline at end of file
Index:
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockFeature.java
diff -u /dev/null
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockFeature.java:1.1
--- /dev/null Tue Aug 16 15:36:22 2005
+++
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockFeature.java
Tue Aug 16 15:36:21 2005
@@ -0,0 +1,57 @@
+/*====================================================================
+
+ ObjectWeb Transaction Working Group API
+ Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
+ 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: LockFeature.java,v 1.1 2005/08/16 13:36:21 rouvoy Exp $
+ ====================================================================*/
+package org.objectweb.transaction.api.lock;
+
+/**
+ * Definition of an exclusive Lock.
+ * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
+ * @version $Revision: 1.1 $
+ * @fractal.itf name="exclusive-lock"
+ */
+public interface LockFeature
+{
+ /** Fractal ADL Identifier for the <code>LockFeature</code> interface.*/
+ public static final String LOCK = "lock";
+
+ /**
+ * Acquire the Lock.
+ * If the Lock is not available, the method wait for the release of the
Lock
+ * @param hints the data to lock.
+ * @param mode the mode of locking.
+ * @return the acquired lock (null if no lock available).
+ */
+ public Lock lock(Object hints, LockMode mode);
+
+ /**
+ * Check if the Lock is acquired.
+ * @param hints
+ * @param mode
+ * @return true if the lock is currently acquired - false if the lock is
not acquired.
+ */
+ public boolean checkLock(Object hints, LockMode mode);
+}
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.3
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockIdentifier.java:removed
---
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockIdentifier.java:1.3
Fri Jan 14 17:51:31 2005
+++
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockIdentifier.java
Tue Aug 16 15:36:22 2005
@@ -1,43 +0,0 @@
-/*====================================================================
-
- ObjectWeb Transaction Working Group API
- Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
- 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.3 2005/01/14 16:51:31 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 $Revision: 1.3 $
- */
-public interface LockIdentifier
-{
- /**
- * Method which compare two LockIdentifier entities.
- * @param id the LocIdentifier to compare.
- * @return true if the two identifiers are the sames else return false.
- */
- public boolean equals(LockIdentifier id);
-}
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.4
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockQueueState.java:removed
---
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockQueueState.java:1.4
Fri Jan 14 17:51:31 2005
+++
ow-transaction/src/java/org/objectweb/transaction/api/lock/LockQueueState.java
Tue Aug 16 15:36:22 2005
@@ -1,48 +0,0 @@
-/*====================================================================
-
- ObjectWeb Transaction Working Group API
- Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
- 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.4 2005/01/14 16:51:31 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 $Revision: 1.4 $
- * @fractal.itf name="lock-queue"
- */
-public interface LockQueueState
-extends 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.
- */
- public void addToQueue();
-}
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.3
ow-transaction/src/java/org/objectweb/transaction/api/lock/ModeLockFeature.java:removed
---
ow-transaction/src/java/org/objectweb/transaction/api/lock/ModeLockFeature.java:1.3
Fri Jan 14 17:51:31 2005
+++
ow-transaction/src/java/org/objectweb/transaction/api/lock/ModeLockFeature.java
Tue Aug 16 15:36:22 2005
@@ -1,67 +0,0 @@
-/*====================================================================
-
- ObjectWeb Transaction Working Group API
- Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
- 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.3 2005/01/14 16:51:31 rouvoy Exp $
- ====================================================================*/
-package org.objectweb.transaction.api.lock;
-
-/**
- * Definition of a mode Lock.
- * A possible specialisation is the Read/Write model.
- * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.3 $
- * @fractal.itf name="mode-lock"
- */
-public interface ModeLockFeature
-extends ReleaseLockFeature
-{
- /** 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.
- * @param id - the lock requester.
- * @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.
- * @param id - the lock requester.
- * @param mode - the requested lock mode.
- * @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.
- * @param mode - the requested lock mode.
- * @return true if the lock is currently acquired - false if the lock is
not acquired.
- */
- public boolean isAcquired(LockIdentifier id, LockMode mode);
-}
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.3
ow-transaction/src/java/org/objectweb/transaction/api/lock/ReleaseLockFeature.java:removed
---
ow-transaction/src/java/org/objectweb/transaction/api/lock/ReleaseLockFeature.java:1.3
Fri Jan 14 17:51:31 2005
+++
ow-transaction/src/java/org/objectweb/transaction/api/lock/ReleaseLockFeature.java
Tue Aug 16 15:36:22 2005
@@ -1,49 +0,0 @@
-/*====================================================================
-
- ObjectWeb Transaction Working Group API
- Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
- 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.3 2005/01/14 16:51:31 rouvoy Exp $
- ====================================================================*/
-package org.objectweb.transaction.api.lock;
-
-import org.objectweb.transaction.api.Feature;
-
-/**
- * Abstract Feature Definition for a Lock Feature.
- * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.3 $
- * @fractal.itf name="release-lock"
- */
-public interface ReleaseLockFeature
-extends 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
- */
- public void release(LockIdentifier id);
-}
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.4
ow-transaction/src/java/org/objectweb/transaction/api/resource/ResourceVote.java:1.5
---
ow-transaction/src/java/org/objectweb/transaction/api/resource/ResourceVote.java:1.4
Fri Jan 14 17:51:31 2005
+++
ow-transaction/src/java/org/objectweb/transaction/api/resource/ResourceVote.java
Tue Aug 16 15:36:21 2005
@@ -23,14 +23,14 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: ResourceVote.java,v 1.4 2005/01/14 16:51:31 rouvoy Exp $
+ $Id: ResourceVote.java,v 1.5 2005/08/16 13:36:21 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.api.resource;
/**
* Description of an Event.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
*/
public interface ResourceVote
{
@@ -38,11 +38,11 @@
* Provides the int value associated to this vote.
* @return the internal value.
*/
- public int getValue();
+ public int value();
/**
* Provides the instance of the underlying Vote.
* @return the instance of the Vote.
*/
- public ResourceVote getVote();
+ public ResourceVote vote();
}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/dependency/DependencyTypeCausal.java
diff -u /dev/null
ow-transaction/src/java/org/objectweb/transaction/lib/dependency/DependencyTypeCausal.java:1.1
--- /dev/null Tue Aug 16 15:36:22 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/dependency/DependencyTypeCausal.java
Tue Aug 16 15:36:21 2005
@@ -0,0 +1,63 @@
+/*====================================================================
+
+ ObjectWeb Transaction Working Group API
+ Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
+ 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: DependencyTypeCausal.java,v 1.1 2005/08/16 13:36:21 rouvoy Exp $
+ ====================================================================*/
+package org.objectweb.transaction.lib.dependency;
+
+import org.objectweb.transaction.api.dependency.DependencyType;
+
+/**
+ * DependencyType for a causal inter-transactions dependency.</BR>
+ * <b>Causal Dependency</b>: This type of dependency should cause a
+ * significant event in case of occurence of another significant event.
+ * The ability to ensure a causal dependency depends on the forcability
+ * of the significant event that should be caused.
+ * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
+ * @version $Revision: 1.1 $
+ */
+public class DependencyTypeCausal
+implements DependencyType
+{
+ /** Int value for dependency type <i>Causal</i>. */
+ public static final int value =
DependencyTypeCausal.class.getName().hashCode();
+
+ /** Object value for the dependency type <i>Causal</i>. */
+ public static final DependencyType type = new DependencyTypeCausal();
+
+ /* (non-Javadoc)
+ * @see
org.objectweb.transaction.api.dependency.DependencyType#getValue()
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /* (non-Javadoc)
+ * @see java.lang.Object#toString()
+ */
+ public String toString() {
+ return "Causal Transactions Dependency Type" ;
+ }
+}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/dependency/DependencyTypeOrder.java
diff -u /dev/null
ow-transaction/src/java/org/objectweb/transaction/lib/dependency/DependencyTypeOrder.java:1.1
--- /dev/null Tue Aug 16 15:36:22 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/dependency/DependencyTypeOrder.java
Tue Aug 16 15:36:21 2005
@@ -0,0 +1,61 @@
+/*====================================================================
+
+ ObjectWeb Transaction Working Group API
+ Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
+ 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: DependencyTypeOrder.java,v 1.1 2005/08/16 13:36:21 rouvoy Exp $
+ ====================================================================*/
+package org.objectweb.transaction.lib.dependency;
+
+import org.objectweb.transaction.api.dependency.DependencyType;
+
+/**
+ * DependencyType for an order inter-transactions dependency. </BR>
+ * <b>Order Dependency</b>: This type of dependency ensures given order
+ * of significant events.
+ * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
+ * @version $Revision: 1.1 $
+ */
+public class DependencyTypeOrder
+implements DependencyType
+{
+ /** Int value for dependency type <i>Order</i>. */
+ public static final int value =
DependencyTypeOrder.class.getName().hashCode();
+
+ /** Object value for dependency type <i>Order</i>. */
+ public static final DependencyType type = new DependencyTypeOrder();
+
+ /* (non-Javadoc)
+ * @see
org.objectweb.transaction.api.dependency.DependencyType#getValue()
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /* (non-Javadoc)
+ * @see java.lang.Object#toString()
+ */
+ public String toString() {
+ return "Ordered Transactions Dependency Type" ;
+ }
+}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/dependency/DependencyTypeWeakCausal.java
diff -u /dev/null
ow-transaction/src/java/org/objectweb/transaction/lib/dependency/DependencyTypeWeakCausal.java:1.1
--- /dev/null Tue Aug 16 15:36:22 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/dependency/DependencyTypeWeakCausal.java
Tue Aug 16 15:36:21 2005
@@ -0,0 +1,62 @@
+/*====================================================================
+
+ ObjectWeb Transaction Working Group API
+ Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
+ 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: DependencyTypeWeakCausal.java,v 1.1 2005/08/16 13:36:21 rouvoy Exp $
+ ====================================================================*/
+package org.objectweb.transaction.lib.dependency;
+
+import org.objectweb.transaction.api.dependency.DependencyType;
+
+/**
+ * DependencyType for a weak-causal inter-transactions dependency.</BR>
+ * <b>Weak-causal Dependency</b>: This type of dependency has the same
+ * meaning as the causal dependency, but it is applied only if the
+ * transaction of the "caused" significant event is active.
+ * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
+ * @version $Revision: 1.1 $
+ */
+public class DependencyTypeWeakCausal
+implements DependencyType
+{
+ /** Int value for dependency type <i>Weak-Causal</i>. */
+ public static final int value =
DependencyTypeWeakCausal.class.getName().hashCode();
+
+ /** Object value for dependency type <i>Weak-Causal</i>. */
+ public static final DependencyType type = new DependencyTypeWeakCausal();
+
+ /* (non-Javadoc)
+ * @see
org.objectweb.transaction.api.dependency.DependencyType#getValue()
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /* (non-Javadoc)
+ * @see java.lang.Object#toString()
+ */
+ public String toString() {
+ return "Weak-Causal Transactions Dependency Type" ;
+ }
+}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/event/EventAbstract.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/event/EventAbstract.java:1.2
ow-transaction/src/java/org/objectweb/transaction/lib/event/EventAbstract.java:1.3
---
ow-transaction/src/java/org/objectweb/transaction/lib/event/EventAbstract.java:1.2
Mon Jul 18 16:33:34 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/event/EventAbstract.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: EventAbstract.java,v 1.2 2005/07/18 14:33:34 rouvoy Exp $
+ $Id: EventAbstract.java,v 1.3 2005/08/16 13:36:21 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.lib.event;
@@ -36,7 +36,7 @@
/**
* Base class for event manipulation.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
*/
public abstract class EventAbstract
implements Event
@@ -65,17 +65,17 @@
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getValue()
*/
- public Integer getValue() { return new Integer(this.value) ; }
+ public Integer value() { return new Integer(this.value) ; }
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getEvent()
*/
- public abstract Event getEvent() ;
+ public abstract Event event() ;
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getLabel()
*/
- public String getLabel() {
+ public String label() {
return this.label;
}
@@ -89,8 +89,8 @@
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getLeavingEvent()
*/
- public Event getLeavingEvent() {
- return getEvent() ;
+ public Event leavingEvent() {
+ return event() ;
}
/* (non-Javadoc)
@@ -113,7 +113,7 @@
* @throws ObjectStreamException is thrown if getEvent() == null.
*/
Object readResolve() throws ObjectStreamException {
- Object obj = getEvent();
+ Object obj = event();
if (obj == null) throw new InvalidObjectException("Event is
undefined");
return obj;
}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/lock/ReadLockMode.java
diff -u /dev/null
ow-transaction/src/java/org/objectweb/transaction/lib/lock/ReadLockMode.java:1.1
--- /dev/null Tue Aug 16 15:36:22 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/lock/ReadLockMode.java
Tue Aug 16 15:36:21 2005
@@ -0,0 +1,71 @@
+/*====================================================================
+
+GoTM: GoTM is an open Transaction Monitor
+Copyright (C) 2003-2005 INRIA - Jacquard & 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: ReadLockMode.java,v 1.1 2005/08/16 13:36:21 rouvoy Exp $
+====================================================================*/
+package org.objectweb.transaction.lib.lock;
+
+import org.objectweb.transaction.api.event.Event;
+import org.objectweb.transaction.api.lock.LockMode;
+import org.objectweb.transaction.lib.event.EventAbstract;
+
+/**
+ * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
+ * @created 15 août 2005
+ * @modified $Date: 2005/08/16 13:36:21 $
+ * @version $Revision: 1.1 $
+ * @fractal.itf
+ */
+public class ReadLockMode
+extends EventAbstract
+implements LockMode{
+ /** Object value for the Lock mode <i>Read</i>. */
+ public final static LockMode mode = new ReadLockMode("Read Lock", false);
+ /** Object value for the Lock mode <i>Read</i>. */
+ public final static LockMode leaves = new ReadLockMode("Read Lock
(end)", true);
+
+
+ /**
+ * @param name
+ * @param leaving
+ */
+ protected ReadLockMode(String name, boolean leaving) {
+ super(name, leaving);
+ }
+
+ /* (non-Javadoc)
+ * @see org.objectweb.transaction.api.event.Event#getEvent()
+ */
+ public Event event() {
+ return mode;
+ }
+
+ /* (non-Javadoc)
+ * @see org.objectweb.transaction.api.event.Event#getLeavingEvent()
+ */
+ public Event leavingEvent() {
+ return leaves;
+ }
+}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/lock/WriteLockMode.java
diff -u /dev/null
ow-transaction/src/java/org/objectweb/transaction/lib/lock/WriteLockMode.java:1.1
--- /dev/null Tue Aug 16 15:36:22 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/lock/WriteLockMode.java
Tue Aug 16 15:36:21 2005
@@ -0,0 +1,71 @@
+/*====================================================================
+
+GoTM: GoTM is an open Transaction Monitor
+Copyright (C) 2003-2005 INRIA - Jacquard & 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: WriteLockMode.java,v 1.1 2005/08/16 13:36:21 rouvoy Exp $
+====================================================================*/
+package org.objectweb.transaction.lib.lock;
+
+import org.objectweb.transaction.api.event.Event;
+import org.objectweb.transaction.api.lock.LockMode;
+import org.objectweb.transaction.lib.event.EventAbstract;
+
+/**
+ * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
+ * @created 15 août 2005
+ * @modified $Date: 2005/08/16 13:36:21 $
+ * @version $Revision: 1.1 $
+ * @fractal.itf
+ */
+public class WriteLockMode
+extends EventAbstract
+implements LockMode{
+ /** Object value for the Lock mode <i>Read</i>. */
+ public final static LockMode mode = new WriteLockMode("Write Lock",
false);
+ /** Object value for the Lock mode <i>Read</i>. */
+ public final static LockMode leaves = new WriteLockMode("Write Lock
(end)", true);
+
+
+ /**
+ * @param name
+ * @param leaving
+ */
+ protected WriteLockMode(String name, boolean leaving) {
+ super(name, leaving);
+ }
+
+ /* (non-Javadoc)
+ * @see org.objectweb.transaction.api.event.Event#getEvent()
+ */
+ public Event event() {
+ return mode;
+ }
+
+ /* (non-Javadoc)
+ * @see org.objectweb.transaction.api.event.Event#getLeavingEvent()
+ */
+ public Event leavingEvent() {
+ return leaves;
+ }
+}
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.8
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventCommit.java:1.9
---
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventCommit.java:1.8
Mon Jul 18 16:33:34 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventCommit.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: ResourceEventCommit.java,v 1.8 2005/07/18 14:33:34 rouvoy Exp $
+ $Id: ResourceEventCommit.java,v 1.9 2005/08/16 13:36:21 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.lib.resource;
@@ -35,7 +35,7 @@
/**
* ResourceEvent for the commit operation.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.8 $
+ * @version $Revision: 1.9 $
*/
public class ResourceEventCommit
extends EventAbstract
@@ -54,7 +54,7 @@
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getEvent()
*/
- public Event getEvent() {
+ public Event event() {
return event;
}
}
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.3
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventContext.java:removed
---
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventContext.java:1.3
Fri Jan 14 17:51:31 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventContext.java
Tue Aug 16 15:36:22 2005
@@ -1,44 +0,0 @@
-/*====================================================================
-
- ObjectWeb Transaction Working Group API
- Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
- 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.3 2005/01/14 16:51:31 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 $Revision: 1.3 $
- */
-public interface ResourceEventContext
-{
- /**
- * Provides the instance of the associated event.
- * @return the event associated to this context.
- */
- public Event getEvent();
-}
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.8
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventRollback.java:1.9
---
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventRollback.java:1.8
Mon Jul 18 16:33:34 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventRollback.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: ResourceEventRollback.java,v 1.8 2005/07/18 14:33:34 rouvoy Exp $
+ $Id: ResourceEventRollback.java,v 1.9 2005/08/16 13:36:21 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.lib.resource;
@@ -34,7 +34,7 @@
/**
* ResourceEvent representing the rollback operation.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.8 $
+ * @version $Revision: 1.9 $
*/
public class ResourceEventRollback
extends EventAbstract
@@ -53,7 +53,7 @@
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getEvent()
*/
- public Event getEvent() {
+ public Event event() {
return event;
}
}
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.8
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventVote.java:1.9
---
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventVote.java:1.8
Mon Jul 18 16:33:34 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceEventVote.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: ResourceEventVote.java,v 1.8 2005/07/18 14:33:34 rouvoy Exp $
+ $Id: ResourceEventVote.java,v 1.9 2005/08/16 13:36:21 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.lib.resource;
@@ -35,7 +35,7 @@
/**
* ResourceEvent for the prepare operation.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.8 $
+ * @version $Revision: 1.9 $
*/
public class ResourceEventVote
extends EventAbstract
@@ -54,7 +54,7 @@
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getEvent()
*/
- public Event getEvent() {
+ public Event event() {
return event;
}
}
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.4
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceVoteCommit.java:1.5
---
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceVoteCommit.java:1.4
Mon May 23 13:20:58 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceVoteCommit.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: ResourceVoteCommit.java,v 1.4 2005/05/23 11:20:58 rouvoy Exp $
+ $Id: ResourceVoteCommit.java,v 1.5 2005/08/16 13:36:21 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.lib.resource;
@@ -33,7 +33,7 @@
/**
*
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
*/
public class ResourceVoteCommit
implements ResourceVote
@@ -44,14 +44,14 @@
/* (non-Javadoc)
* @see org.objectweb.transaction.api.resource.ResourceVote#getVote()
*/
- public ResourceVote getVote() {
+ public ResourceVote vote() {
return vote;
}
/* (non-Javadoc)
* @see org.objectweb.transaction.api.resource.ResourceVote#getValue()
*/
- public int getValue() {
+ public int value() {
return vote.hashCode();
}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceVoteReadOnly.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceVoteReadOnly.java:1.4
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceVoteReadOnly.java:1.5
---
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceVoteReadOnly.java:1.4
Mon May 23 13:20:58 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceVoteReadOnly.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: ResourceVoteReadOnly.java,v 1.4 2005/05/23 11:20:58 rouvoy Exp $
+ $Id: ResourceVoteReadOnly.java,v 1.5 2005/08/16 13:36:21 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.lib.resource;
@@ -33,7 +33,7 @@
/**
*
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
*/
public class ResourceVoteReadOnly
implements ResourceVote
@@ -44,14 +44,14 @@
/* (non-Javadoc)
* @see org.objectweb.transaction.api.resource.ResourceVote#getVote()
*/
- public ResourceVote getVote() {
+ public ResourceVote vote() {
return vote;
}
/* (non-Javadoc)
* @see org.objectweb.transaction.api.resource.ResourceVote#getValue()
*/
- public int getValue() {
+ public int value() {
return vote.hashCode();
}
}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceVoteRollback.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceVoteRollback.java:1.4
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceVoteRollback.java:1.5
---
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceVoteRollback.java:1.4
Mon May 23 13:20:58 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/resource/ResourceVoteRollback.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: ResourceVoteRollback.java,v 1.4 2005/05/23 11:20:58 rouvoy Exp $
+ $Id: ResourceVoteRollback.java,v 1.5 2005/08/16 13:36:21 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.lib.resource;
@@ -33,7 +33,7 @@
/**
*
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
*/
public class ResourceVoteRollback
implements ResourceVote
@@ -44,14 +44,14 @@
/* (non-Javadoc)
* @see org.objectweb.transaction.api.resource.ResourceVote#getVote()
*/
- public ResourceVote getVote() {
+ public ResourceVote vote() {
return vote;
}
/* (non-Javadoc)
* @see org.objectweb.transaction.api.resource.ResourceVote#getValue()
*/
- public int getValue() {
+ public int value() {
return vote.hashCode();
}
}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/synchronization/SynchronizationEventAfterCompletion.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/synchronization/SynchronizationEventAfterCompletion.java:1.7
ow-transaction/src/java/org/objectweb/transaction/lib/synchronization/SynchronizationEventAfterCompletion.java:1.8
---
ow-transaction/src/java/org/objectweb/transaction/lib/synchronization/SynchronizationEventAfterCompletion.java:1.7
Mon Jul 18 16:33:34 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/synchronization/SynchronizationEventAfterCompletion.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: SynchronizationEventAfterCompletion.java,v 1.7 2005/07/18 14:33:34
rouvoy Exp $
+ $Id: SynchronizationEventAfterCompletion.java,v 1.8 2005/08/16 13:36:21
rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.lib.synchronization;
@@ -34,7 +34,7 @@
/**
* SynchronizationEvent raised after the completion.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
*/
public class SynchronizationEventAfterCompletion
extends EventAbstract
@@ -53,7 +53,7 @@
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getEvent()
*/
- public Event getEvent() {
+ public Event event() {
return event;
}
}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/synchronization/SynchronizationEventBeforeCompletion.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/synchronization/SynchronizationEventBeforeCompletion.java:1.7
ow-transaction/src/java/org/objectweb/transaction/lib/synchronization/SynchronizationEventBeforeCompletion.java:1.8
---
ow-transaction/src/java/org/objectweb/transaction/lib/synchronization/SynchronizationEventBeforeCompletion.java:1.7
Mon Jul 18 16:33:34 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/synchronization/SynchronizationEventBeforeCompletion.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: SynchronizationEventBeforeCompletion.java,v 1.7 2005/07/18 14:33:34
rouvoy Exp $
+ $Id: SynchronizationEventBeforeCompletion.java,v 1.8 2005/08/16 13:36:21
rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.lib.synchronization;
@@ -34,7 +34,7 @@
/**
* SynchronizationEvent raised before the completion.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
*/
public class SynchronizationEventBeforeCompletion
extends EventAbstract
@@ -53,7 +53,7 @@
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getEvent()
*/
- public Event getEvent() {
+ public Event event() {
return event;
}
}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/DependencyTypeCausal.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/DependencyTypeCausal.java:1.3
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/DependencyTypeCausal.java:removed
---
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/DependencyTypeCausal.java:1.3
Fri Jan 14 17:51:31 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/DependencyTypeCausal.java
Tue Aug 16 15:36:22 2005
@@ -1,63 +0,0 @@
-/*====================================================================
-
- ObjectWeb Transaction Working Group API
- Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
- 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: DependencyTypeCausal.java,v 1.3 2005/01/14 16:51:31 rouvoy Exp $
- ====================================================================*/
-package org.objectweb.transaction.lib.transaction;
-
-import org.objectweb.transaction.api.dependency.DependencyType;
-
-/**
- * DependencyType for a causal inter-transactions dependency.</BR>
- * <b>Causal Dependency</b>: This type of dependency should cause a
- * significant event in case of occurence of another significant event.
- * The ability to ensure a causal dependency depends on the forcability
- * of the significant event that should be caused.
- * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.3 $
- */
-public class DependencyTypeCausal
-implements DependencyType
-{
- /** Int value for dependency type <i>Causal</i>. */
- public static final int value =
DependencyTypeCausal.class.getName().hashCode();
-
- /** Object value for the dependency type <i>Causal</i>. */
- public static final DependencyType type = new DependencyTypeCausal();
-
- /* (non-Javadoc)
- * @see
org.objectweb.transaction.api.dependency.DependencyType#getValue()
- */
- public int getValue() {
- return value;
- }
-
- /* (non-Javadoc)
- * @see java.lang.Object#toString()
- */
- public String toString() {
- return "Causal Transactions Dependency Type" ;
- }
-}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/DependencyTypeOrder.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/DependencyTypeOrder.java:1.3
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/DependencyTypeOrder.java:removed
---
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/DependencyTypeOrder.java:1.3
Fri Jan 14 17:51:31 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/DependencyTypeOrder.java
Tue Aug 16 15:36:22 2005
@@ -1,61 +0,0 @@
-/*====================================================================
-
- ObjectWeb Transaction Working Group API
- Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
- 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: DependencyTypeOrder.java,v 1.3 2005/01/14 16:51:31 rouvoy Exp $
- ====================================================================*/
-package org.objectweb.transaction.lib.transaction;
-
-import org.objectweb.transaction.api.dependency.DependencyType;
-
-/**
- * DependencyType for an order inter-transactions dependency. </BR>
- * <b>Order Dependency</b>: This type of dependency ensures given order
- * of significant events.
- * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.3 $
- */
-public class DependencyTypeOrder
-implements DependencyType
-{
- /** Int value for dependency type <i>Order</i>. */
- public static final int value =
DependencyTypeOrder.class.getName().hashCode();
-
- /** Object value for dependency type <i>Order</i>. */
- public static final DependencyType type = new DependencyTypeOrder();
-
- /* (non-Javadoc)
- * @see
org.objectweb.transaction.api.dependency.DependencyType#getValue()
- */
- public int getValue() {
- return value;
- }
-
- /* (non-Javadoc)
- * @see java.lang.Object#toString()
- */
- public String toString() {
- return "Ordered Transactions Dependency Type" ;
- }
-}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/DependencyTypeWeakCausal.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/DependencyTypeWeakCausal.java:1.3
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/DependencyTypeWeakCausal.java:removed
---
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/DependencyTypeWeakCausal.java:1.3
Fri Jan 14 17:51:31 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/DependencyTypeWeakCausal.java
Tue Aug 16 15:36:22 2005
@@ -1,62 +0,0 @@
-/*====================================================================
-
- ObjectWeb Transaction Working Group API
- Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
- 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: DependencyTypeWeakCausal.java,v 1.3 2005/01/14 16:51:31 rouvoy Exp $
- ====================================================================*/
-package org.objectweb.transaction.lib.transaction;
-
-import org.objectweb.transaction.api.dependency.DependencyType;
-
-/**
- * DependencyType for a weak-causal inter-transactions dependency.</BR>
- * <b>Weak-causal Dependency</b>: This type of dependency has the same
- * meaning as the causal dependency, but it is applied only if the
- * transaction of the "caused" significant event is active.
- * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.3 $
- */
-public class DependencyTypeWeakCausal
-implements DependencyType
-{
- /** Int value for dependency type <i>Weak-Causal</i>. */
- public static final int value =
DependencyTypeWeakCausal.class.getName().hashCode();
-
- /** Object value for dependency type <i>Weak-Causal</i>. */
- public static final DependencyType type = new DependencyTypeWeakCausal();
-
- /* (non-Javadoc)
- * @see
org.objectweb.transaction.api.dependency.DependencyType#getValue()
- */
- public int getValue() {
- return value;
- }
-
- /* (non-Javadoc)
- * @see java.lang.Object#toString()
- */
- public String toString() {
- return "Weak-Causal Transactions Dependency Type" ;
- }
-}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusCommitted.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusCommitted.java:1.7
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusCommitted.java:1.8
---
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusCommitted.java:1.7
Mon Jul 18 16:33:34 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusCommitted.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: TransactionStatusCommitted.java,v 1.7 2005/07/18 14:33:34 rouvoy Exp $
+ $Id: TransactionStatusCommitted.java,v 1.8 2005/08/16 13:36:21 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.lib.transaction;
@@ -35,7 +35,7 @@
/**
* TransactionStatus after the completion of the transaction.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
*/
public class TransactionStatusCommitted
extends EventAbstract
@@ -57,14 +57,14 @@
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getEvent()
*/
- public Event getEvent() {
+ public Event event() {
return status;
}
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getLeavingEvent()
*/
- public Event getLeavingEvent() {
+ public Event leavingEvent() {
return leaves;
}
}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusCommitting.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusCommitting.java:1.7
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusCommitting.java:1.8
---
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusCommitting.java:1.7
Mon Jul 18 16:33:34 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusCommitting.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: TransactionStatusCommitting.java,v 1.7 2005/07/18 14:33:34 rouvoy Exp $
+ $Id: TransactionStatusCommitting.java,v 1.8 2005/08/16 13:36:21 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.lib.transaction;
@@ -34,7 +34,7 @@
/**
* TransactionStatus during the completion of the transaction.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
*/
public class TransactionStatusCommitting
extends EventAbstract
@@ -56,14 +56,14 @@
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getEvent()
*/
- public Event getEvent() {
+ public Event event() {
return status;
}
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getLeavingEvent()
*/
- public Event getLeavingEvent() {
+ public Event leavingEvent() {
return leaves;
}
}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusMarkedRollback.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusMarkedRollback.java:1.7
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusMarkedRollback.java:1.8
---
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusMarkedRollback.java:1.7
Mon Jul 18 16:33:34 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusMarkedRollback.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: TransactionStatusMarkedRollback.java,v 1.7 2005/07/18 14:33:34 rouvoy
Exp $
+ $Id: TransactionStatusMarkedRollback.java,v 1.8 2005/08/16 13:36:21 rouvoy
Exp $
====================================================================*/
package org.objectweb.transaction.lib.transaction;
@@ -34,7 +34,7 @@
/**
* TransactionStatus when transaction is marked for rollback.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
*/
public class TransactionStatusMarkedRollback
extends EventAbstract
@@ -56,14 +56,14 @@
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getEvent()
*/
- public Event getEvent() {
+ public Event event() {
return status;
}
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getLeavingEvent()
*/
- public Event getLeavingEvent() {
+ public Event leavingEvent() {
return leaves;
}
}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusNoTransaction.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusNoTransaction.java:1.7
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusNoTransaction.java:1.8
---
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusNoTransaction.java:1.7
Mon Jul 18 16:33:34 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusNoTransaction.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: TransactionStatusNoTransaction.java,v 1.7 2005/07/18 14:33:34 rouvoy
Exp $
+ $Id: TransactionStatusNoTransaction.java,v 1.8 2005/08/16 13:36:21 rouvoy
Exp $
====================================================================*/
package org.objectweb.transaction.lib.transaction;
@@ -34,7 +34,7 @@
/**
* TransactionStatus when no transaction is active.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
*/
public class TransactionStatusNoTransaction
extends EventAbstract
@@ -56,14 +56,14 @@
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getEvent()
*/
- public Event getEvent() {
+ public Event event() {
return status;
}
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getLeavingEvent()
*/
- public Event getLeavingEvent() {
+ public Event leavingEvent() {
return leaves;
}
}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusPrepared.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusPrepared.java:1.7
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusPrepared.java:1.8
---
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusPrepared.java:1.7
Mon Jul 18 16:33:34 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusPrepared.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: TransactionStatusPrepared.java,v 1.7 2005/07/18 14:33:34 rouvoy Exp $
+ $Id: TransactionStatusPrepared.java,v 1.8 2005/08/16 13:36:21 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.lib.transaction;
@@ -34,7 +34,7 @@
/**
* TransactionStatus after the first step of the validation process.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
*/
public class TransactionStatusPrepared
extends EventAbstract
@@ -56,14 +56,14 @@
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getEvent()
*/
- public Event getEvent() {
+ public Event event() {
return status;
}
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getLeavingEvent()
*/
- public Event getLeavingEvent() {
+ public Event leavingEvent() {
return leaves;
}
}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusPreparing.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusPreparing.java:1.7
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusPreparing.java:1.8
---
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusPreparing.java:1.7
Mon Jul 18 16:33:34 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusPreparing.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: TransactionStatusPreparing.java,v 1.7 2005/07/18 14:33:34 rouvoy Exp $
+ $Id: TransactionStatusPreparing.java,v 1.8 2005/08/16 13:36:21 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.lib.transaction;
@@ -34,7 +34,7 @@
/**
* TransactionStatus during the first step of the validation process.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
*/
public class TransactionStatusPreparing
extends EventAbstract
@@ -56,14 +56,14 @@
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getEvent()
*/
- public Event getEvent() {
+ public Event event() {
return status;
}
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getLeavingEvent()
*/
- public Event getLeavingEvent() {
+ public Event leavingEvent() {
return leaves;
}
}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusRolledBack.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusRolledBack.java:1.7
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusRolledBack.java:1.8
---
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusRolledBack.java:1.7
Mon Jul 18 16:33:34 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusRolledBack.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: TransactionStatusRolledBack.java,v 1.7 2005/07/18 14:33:34 rouvoy Exp $
+ $Id: TransactionStatusRolledBack.java,v 1.8 2005/08/16 13:36:21 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.lib.transaction;
@@ -34,7 +34,7 @@
/**
* TransactionStatus after the completion of the transaction.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
*/
public class TransactionStatusRolledBack
extends EventAbstract
@@ -56,14 +56,14 @@
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getEvent()
*/
- public Event getEvent() {
+ public Event event() {
return status;
}
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getLeavingEvent()
*/
- public Event getLeavingEvent() {
+ public Event leavingEvent() {
return leaves;
}
}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusRollingBack.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusRollingBack.java:1.7
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusRollingBack.java:1.8
---
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusRollingBack.java:1.7
Mon Jul 18 16:33:34 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusRollingBack.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: TransactionStatusRollingBack.java,v 1.7 2005/07/18 14:33:34 rouvoy Exp
$
+ $Id: TransactionStatusRollingBack.java,v 1.8 2005/08/16 13:36:21 rouvoy Exp
$
====================================================================*/
package org.objectweb.transaction.lib.transaction;
@@ -34,7 +34,7 @@
/**
* TransactionStatus during the completion of the transaction.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
*/
public class TransactionStatusRollingBack
extends EventAbstract
@@ -56,14 +56,14 @@
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getEvent()
*/
- public Event getEvent() {
+ public Event event() {
return status;
}
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getLeavingEvent()
*/
- public Event getLeavingEvent() {
+ public Event leavingEvent() {
return leaves;
}
}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusTransactionActive.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusTransactionActive.java:1.7
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusTransactionActive.java:1.8
---
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusTransactionActive.java:1.7
Mon Jul 18 16:33:34 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusTransactionActive.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: TransactionStatusTransactionActive.java,v 1.7 2005/07/18 14:33:34
rouvoy Exp $
+ $Id: TransactionStatusTransactionActive.java,v 1.8 2005/08/16 13:36:21
rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.lib.transaction;
@@ -34,7 +34,7 @@
/**
* TransactionStatus during the activity of the transaction.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
*/
public class TransactionStatusTransactionActive
extends EventAbstract
@@ -56,14 +56,14 @@
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getEvent()
*/
- public Event getEvent() {
+ public Event event() {
return status;
}
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getLeavingEvent()
*/
- public Event getLeavingEvent() {
+ public Event leavingEvent() {
return leaves;
}
}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusTransactionInactive.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusTransactionInactive.java:1.2
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusTransactionInactive.java:1.3
---
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusTransactionInactive.java:1.2
Mon Jul 18 16:33:34 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusTransactionInactive.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: TransactionStatusTransactionInactive.java,v 1.2 2005/07/18 14:33:34
rouvoy Exp $
+ $Id: TransactionStatusTransactionInactive.java,v 1.3 2005/08/16 13:36:21
rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.lib.transaction;
@@ -34,7 +34,7 @@
/**
* TransactionStatus during the inactivity of the transaction.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
*/
public class TransactionStatusTransactionInactive
extends EventAbstract
@@ -56,14 +56,14 @@
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getEvent()
*/
- public Event getEvent() {
+ public Event event() {
return status;
}
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getLeavingEvent()
*/
- public Event getLeavingEvent() {
+ public Event leavingEvent() {
return leaves;
}
}
Index:
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusUnknown.java
diff -u
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusUnknown.java:1.7
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusUnknown.java:1.8
---
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusUnknown.java:1.7
Mon Jul 18 16:33:34 2005
+++
ow-transaction/src/java/org/objectweb/transaction/lib/transaction/TransactionStatusUnknown.java
Tue Aug 16 15:36:21 2005
@@ -23,7 +23,7 @@
Contributor(s): ______________________________________.
---------------------------------------------------------------------
- $Id: TransactionStatusUnknown.java,v 1.7 2005/07/18 14:33:34 rouvoy Exp $
+ $Id: TransactionStatusUnknown.java,v 1.8 2005/08/16 13:36:21 rouvoy Exp $
====================================================================*/
package org.objectweb.transaction.lib.transaction;
@@ -34,7 +34,7 @@
/**
* TransactionStatus when the transaction is in an unknown state.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
*/
public class TransactionStatusUnknown
extends EventAbstract
@@ -56,14 +56,14 @@
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getEvent()
*/
- public Event getEvent() {
+ public Event event() {
return status;
}
/* (non-Javadoc)
* @see org.objectweb.transaction.api.event.Event#getLeavingEvent()
*/
- public Event getLeavingEvent() {
+ public Event leavingEvent() {
return leaves;
}
}
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.