OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | gotm-commits List | August 2005 Index

<--  Date Index  --> <--  Thread Index  -->

CVS update of ow-transaction/src/java/org/objectweb/transaction/api/event (2 files)


    Date: Friday, August 12, 2005 @ 14:31:25
  Author: rouvoy
    Path: .../gotm/ow-transaction/src/java/org/objectweb/transaction/api/event

Modified: PublishFeature.java SubscribeFeature.java

* Replacing template ADL declaration by classic Fractal ADL declaration.
* Implicit support of template components.
* Support of UserTransaction as current.
* Support for dynamic adaptability.
* Updating performance benchmark.
* Removing unused utils components.


-----------------------+
 PublishFeature.java   |   21 +++++++++++++--------
 SubscribeFeature.java |   16 +++++++++++++---
 2 files changed, 26 insertions(+), 11 deletions(-)


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.6
 
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.6
 Mon Jul 11 10:27:02 2005
+++ 
ow-transaction/src/java/org/objectweb/transaction/api/event/PublishFeature.java
     Fri Aug 12 14:31:25 2005
@@ -23,7 +23,7 @@
  Contributor(s): .
  
  ---------------------------------------------------------------------
- $Id: PublishFeature.java,v 1.6 2005/07/11 08:27:02 rouvoy Exp $
+ $Id: PublishFeature.java,v 1.7 2005/08/12 12:31:25 rouvoy Exp $
  ====================================================================*/
 
 package org.objectweb.transaction.api.event;
@@ -35,19 +35,24 @@
 /**
  * @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.6 $
+ * @modified $Date: 2005/08/12 12:31:25 $
+ * @version $Revision: 1.7 $
  * @fractal.itf name="publish"
  */
-public interface PublishFeature 
-extends Feature 
-{
-    /** Fractal ADL Identifier for the <code>PUBLISH_FEATURE</code> 
interface.*/
+public interface PublishFeature
+        extends Feature {
+    /** Fractal ADL Identifier for the <code>PUBLISH_FEATURE</code> 
interface. */
     public static final String PUBLISH_FEATURE = "publish";
-    
+
     /**
      * @param topic
      * @param context
      */
     public 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();
 }
Index: 
ow-transaction/src/java/org/objectweb/transaction/api/event/SubscribeFeature.java
diff -u 
ow-transaction/src/java/org/objectweb/transaction/api/event/SubscribeFeature.java:1.6
 
ow-transaction/src/java/org/objectweb/transaction/api/event/SubscribeFeature.java:1.7
--- 
ow-transaction/src/java/org/objectweb/transaction/api/event/SubscribeFeature.java:1.6
       Mon Jul 11 10:27:02 2005
+++ 
ow-transaction/src/java/org/objectweb/transaction/api/event/SubscribeFeature.java
   Fri Aug 12 14:31:25 2005
@@ -23,7 +23,7 @@
  Contributor(s): .
  
  ---------------------------------------------------------------------
- $Id: SubscribeFeature.java,v 1.6 2005/07/11 08:27:02 rouvoy Exp $
+ $Id: SubscribeFeature.java,v 1.7 2005/08/12 12:31:25 rouvoy Exp $
  ====================================================================*/
 
 package org.objectweb.transaction.api.event;
@@ -33,8 +33,8 @@
 /**
  * @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.6 $
+ * @modified $Date: 2005/08/12 12:31:25 $
+ * @version $Revision: 1.7 $
  * @fractal.itf name="subscribe"
  */
 public interface SubscribeFeature 
@@ -66,4 +66,14 @@
      * @param suscriber the handler notified of occurences of the subscribed 
topic.
      */
     public void unsubscribe(Event[] topics, PublishFeature suscriber);
+
+    /**
+     * @param suscriber the handler notified of occurences of the subscribed 
topic.
+     */
+    public void subscribe(PublishFeature suscriber);
+    
+    /**
+     * @param suscriber the handler notified of occurences of the subscribed 
topic.
+     */
+    public void unsubscribe(PublishFeature suscriber);
 }



<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.