You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by pd...@apache.org on 2014/04/13 19:05:39 UTC
svn commit: r1587044 -
/felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/context/Event.java
Author: pderop
Date: Sun Apr 13 17:05:39 2014
New Revision: 1587044
URL: http://svn.apache.org/r1587044
Log:
Event extends the Comparable interface, because all kind of events must be comparable.
Modified:
felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/context/Event.java
Modified: felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/context/Event.java
URL: http://svn.apache.org/viewvc/felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/context/Event.java?rev=1587044&r1=1587043&r2=1587044&view=diff
==============================================================================
--- felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/context/Event.java (original)
+++ felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/context/Event.java Sun Apr 13 17:05:39 2014
@@ -6,7 +6,7 @@ import org.osgi.framework.BundleContext;
* An event holds all data that belongs to some external event as it comes in via
* the 'changed' callback of a dependency.
*/
-public interface Event {
+public interface Event extends Comparable {
/**
* Release the resources this event is holding (like service reference for example).
* @param m_context the bundle context possibly used to clean some service references.s