felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject svn commit: r1604246 - /felix/sandbox/pderop/dependencymanager-prototype/org.apache.felix.dm/src/org/apache/felix/dm/context/Event.java
Date Fri, 20 Jun 2014 19:02:46 GMT
Author: pderop
Date: Fri Jun 20 19:02:46 2014
New Revision: 1604246

URL: http://svn.apache.org/r1604246
Log:
It is better to hold all resources to be released in the event itself, 
and the close method does not take the bundle context as parameter anymore.

Modified:
    felix/sandbox/pderop/dependencymanager-prototype/org.apache.felix.dm/src/org/apache/felix/dm/context/Event.java

Modified: felix/sandbox/pderop/dependencymanager-prototype/org.apache.felix.dm/src/org/apache/felix/dm/context/Event.java
URL: http://svn.apache.org/viewvc/felix/sandbox/pderop/dependencymanager-prototype/org.apache.felix.dm/src/org/apache/felix/dm/context/Event.java?rev=1604246&r1=1604245&r2=1604246&view=diff
==============================================================================
--- felix/sandbox/pderop/dependencymanager-prototype/org.apache.felix.dm/src/org/apache/felix/dm/context/Event.java
(original)
+++ felix/sandbox/pderop/dependencymanager-prototype/org.apache.felix.dm/src/org/apache/felix/dm/context/Event.java
Fri Jun 20 19:02:46 2014
@@ -18,7 +18,6 @@
  */
 package org.apache.felix.dm.context;
 
-import org.osgi.framework.BundleContext;
 
 /** 
  * An event holds all data that belongs to some external event as it comes in via
@@ -27,7 +26,6 @@ import org.osgi.framework.BundleContext;
 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
      */
-    public void close(BundleContext context);
+    public void close();
 }



Mime
View raw message