felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject svn commit: r887394 - /felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/service/Service.java
Date Fri, 04 Dec 2009 22:28:55 GMT
Author: pderop
Date: Fri Dec  4 22:28:55 2009
New Revision: 887394

URL: http://svn.apache.org/viewvc?rev=887394&view=rev
Log:
renamed package to org.apache.felix.dm.service; moved dependencyAvailable/dependencyUnavailable/dependencyChanged
methods in org.apache.felix.dm.impl.dependencies.DependencyService

Modified:
    felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/service/Service.java

Modified: felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/service/Service.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/service/Service.java?rev=887394&r1=887393&r2=887394&view=diff
==============================================================================
--- felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/service/Service.java
(original)
+++ felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/service/Service.java
Fri Dec  4 22:28:55 2009
@@ -16,11 +16,12 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.felix.dependencymanager;
+package org.apache.felix.dm.service;
 
 import java.util.Dictionary;
 import java.util.List;
 
+import org.apache.felix.dm.dependencies.Dependency;
 import org.osgi.framework.ServiceRegistration;
 
 /**
@@ -165,29 +166,6 @@
      */
     public void removeStateListener(ServiceStateListener listener);
     
-    // events, must be fired when the dependency is started/active
-    
-    /**
-     * Will be called when the dependency becomes available.
-     * 
-     * @param dependency the dependency
-     */
-    public void dependencyAvailable(Dependency dependency);
-    
-    /**
-     * Will be called when the dependency changes.
-     * 
-     * @param dependency the dependency
-     */
-    public void dependencyUnavailable(Dependency dependency);
-    
-    /**
-     * Will be called when the dependency becomes unavailable.
-     * 
-     * @param dependency the dependency
-     */
-    public void dependencyChanged(Dependency dependency);
-
     /**
      * Starts the service. This activates the dependency tracking mechanism
      * for this service.
@@ -212,7 +190,7 @@
      * @param factory the factory instance or class
      * @param createMethod the name of the create method
      */
-	public Service setFactory(Object factory, String createMethod);
+    public Service setFactory(Object factory, String createMethod);
 	
 	/**
 	 * Sets the factory to use to create the implementation. You specify the



Mime
View raw message