Changeset 3153 for trunk/openmole/core/org.openmole.core.commons.backgroundexecutor/src/main/java/org/openmole/core/commons/backgroundexecutor/internal/Activator.java
- Timestamp:
- 03/05/10 20:55:42 (2 years ago)
- Location:
- trunk/openmole/core/org.openmole.core.commons.backgroundexecutor/src/main/java/org/openmole/core/commons
- Files:
-
- 3 added
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/openmole/core/org.openmole.core.commons.backgroundexecutor/src/main/java/org/openmole/core/commons/backgroundexecutor/internal/Activator.java
r3081 r3153 1 package org.openmole.core. transfermonitor.internal;1 package org.openmole.core.commons.backgroundexecutor.internal; 2 2 3 3 import org.osgi.framework.BundleActivator; … … 7 7 import org.openmole.misc.executorservice.IExecutorService; 8 8 import org.openmole.misc.workspace.IWorkspace; 9 import org.openmole.core. transfermonitor.ITransferMonitor;9 import org.openmole.core.commons.backgroundexecutor.IBackgroundExecutor; 10 10 11 11 public class Activator implements BundleActivator { … … 14 14 private static IExecutorService executorService; 15 15 private static IWorkspace workspace; 16 private static TransfertMonitor transfertMonitor;16 private static BackgroundExecutor transfertMonitor; 17 17 private ServiceRegistration reg; 18 18 … … 24 24 Activator.context = context; 25 25 26 transfertMonitor = new TransfertMonitor();27 reg = context.registerService(I TransferMonitor.class.getName(), transfertMonitor, null);26 transfertMonitor = new BackgroundExecutor(); 27 reg = context.registerService(IBackgroundExecutor.class.getName(), transfertMonitor, null); 28 28 } 29 29 … … 65 65 } 66 66 67 public static TransfertMonitor getTransfertMonitor() {67 public static BackgroundExecutor getTransfertMonitor() { 68 68 return transfertMonitor; 69 69 }





