Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2016-03-12 02:32:55 +0000
committerslewis2016-03-12 02:32:55 +0000
commit778becc03af3277c850f7c79afc060935d99a01b (patch)
treec9a855e968cee894a3f752e6738ba6275003e13b /framework
parent10b828392a4cda59d9742078b744103645b96e0a (diff)
downloadorg.eclipse.ecf-778becc03af3277c850f7c79afc060935d99a01b.tar.gz
org.eclipse.ecf-778becc03af3277c850f7c79afc060935d99a01b.tar.xz
org.eclipse.ecf-778becc03af3277c850f7c79afc060935d99a01b.zip
Diffstat (limited to 'framework')
-rw-r--r--framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/AbstractRSAContainer.java6
-rw-r--r--framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/RSARemoteServiceContainerAdapter.java4
2 files changed, 5 insertions, 5 deletions
diff --git a/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/AbstractRSAContainer.java b/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/AbstractRSAContainer.java
index 9cd00a409..e3d411208 100644
--- a/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/AbstractRSAContainer.java
+++ b/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/AbstractRSAContainer.java
@@ -34,7 +34,7 @@ public abstract class AbstractRSAContainer extends AbstractContainer {
}
/**
- * Register an endpoint specified by the RSARemoteServiceRegistration. Subclasses must
+ * Export an endpoint specified by the RSARemoteServiceRegistration. Subclasses must
* implement to respond to a remote service export. This method will be called by
* the ECF RemoteServiceAdmin.exportService when this container should handle the export.
*
@@ -47,7 +47,7 @@ public abstract class AbstractRSAContainer extends AbstractContainer {
* then the value from the map will override this property in the endpoint description. The result
* may be <code>null</code>, in which case no properties will be overridden or added.
*/
- protected abstract Map<String, Object> registerEndpoint(RSARemoteServiceRegistration registration);
+ protected abstract Map<String, Object> exportRemoteService(RSARemoteServiceRegistration registration);
/**
* Unregister the endpoint for the given RSARemoteServiceRegistration. Subclasses must implement
@@ -57,7 +57,7 @@ public abstract class AbstractRSAContainer extends AbstractContainer {
* @param registration the registration identifying the remote service to unregister. Will not
* be <code>null</code>.
*/
- protected abstract void unregisterEndpoint(RSARemoteServiceRegistration registration);
+ protected abstract void unexportRemoteService(RSARemoteServiceRegistration registration);
protected RSARemoteServiceContainerAdapter createContainerAdapter() {
return new RSARemoteServiceContainerAdapter(this);
diff --git a/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/RSARemoteServiceContainerAdapter.java b/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/RSARemoteServiceContainerAdapter.java
index dabb99bfd..356aa8fff 100644
--- a/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/RSARemoteServiceContainerAdapter.java
+++ b/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/RSARemoteServiceContainerAdapter.java
@@ -49,11 +49,11 @@ public class RSARemoteServiceContainerAdapter extends RemoteServiceContainerAdap
@Override
public void publish(RemoteServiceRegistryImpl reg, Object svc, String[] clzzes, Dictionary props) {
super.publish(reg, svc, clzzes, props);
- this.extraProperties = getRSAContainer().registerEndpoint(this);
+ this.extraProperties = getRSAContainer().exportRemoteService(this);
}
public void unregister() {
- getRSAContainer().unregisterEndpoint(this);
+ getRSAContainer().unexportRemoteService(this);
}
public Map<String, Object> getExtraProperties() {

Back to the top