Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.ote.server/src/org/eclipse/osee/ote/server/internal/OteServiceStarterImpl.java')
-rw-r--r--plugins/org.eclipse.osee.ote.server/src/org/eclipse/osee/ote/server/internal/OteServiceStarterImpl.java16
1 files changed, 1 insertions, 15 deletions
diff --git a/plugins/org.eclipse.osee.ote.server/src/org/eclipse/osee/ote/server/internal/OteServiceStarterImpl.java b/plugins/org.eclipse.osee.ote.server/src/org/eclipse/osee/ote/server/internal/OteServiceStarterImpl.java
index 85312458449..3ea6a4966f1 100644
--- a/plugins/org.eclipse.osee.ote.server/src/org/eclipse/osee/ote/server/internal/OteServiceStarterImpl.java
+++ b/plugins/org.eclipse.osee.ote.server/src/org/eclipse/osee/ote/server/internal/OteServiceStarterImpl.java
@@ -42,8 +42,6 @@ import org.eclipse.osee.framework.messaging.NodeInfo;
import org.eclipse.osee.framework.messaging.OseeMessagingListener;
import org.eclipse.osee.framework.messaging.OseeMessagingStatusCallback;
import org.eclipse.osee.framework.messaging.ReplyConnection;
-import org.eclipse.osee.framework.messaging.services.RegisteredServiceReference;
-import org.eclipse.osee.framework.messaging.services.RemoteServiceRegistrar;
import org.eclipse.osee.framework.messaging.services.ServiceInfoPopulator;
import org.eclipse.osee.framework.messaging.services.messages.ServiceDescriptionPair;
import org.eclipse.osee.ote.core.OTESessionManager;
@@ -67,7 +65,6 @@ public class OteServiceStarterImpl implements OteServiceStarter, ServiceInfoPopu
private PackageAdmin packageAdmin;
private IRuntimeLibraryManager runtimeLibraryManager;
private IConnectionService connectionService;
- private RemoteServiceRegistrar remoteServiceRegistrar;
private MessageService messageService;
private BrokerService brokerService;
@@ -117,14 +114,6 @@ public class OteServiceStarterImpl implements OteServiceStarter, ServiceInfoPopu
this.runtimeLibraryManager = null;
}
- public void bindRemoteServiceRegistrar(RemoteServiceRegistrar remoteServiceRegistrar){
- this.remoteServiceRegistrar = remoteServiceRegistrar;
- }
-
- public void unbindRemoteServiceRegistrar(RemoteServiceRegistrar remoteServiceRegistrar){
- this.remoteServiceRegistrar = null;
- }
-
public void bindMessageService(MessageService messageService){
this.messageService = messageService;
}
@@ -233,9 +222,7 @@ public class OteServiceStarterImpl implements OteServiceStarter, ServiceInfoPopu
OseeLog.log(getClass(), Level.SEVERE, th);
}
} else { //user old lookup
- messageService.get(nodeInfo).subscribe(OteBaseMessages.RequestOteHost, listenForHostRequest, this);
- RegisteredServiceReference ref = remoteServiceRegistrar.registerService("osee.ote.server", "1.0", service.getServiceID().toString(), uri, this, 60 * 3);
- service.set(ref);
+ OseeLog.log(getClass(), Level.SEVERE, "'ote.master.uri' was not set. You must use direct connect from the client.");
}
} else {
@@ -291,7 +278,6 @@ public class OteServiceStarterImpl implements OteServiceStarter, ServiceInfoPopu
if (service != null) {
try {
service.updateDynamicInfo();
- remoteServiceRegistrar.unregisterService("osee.ote.server", "1.0", service.getServiceID().toString());
service.kill();
service = null;
} catch (Exception ex) {

Back to the top