Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2005-05-02 07:09:06 +0000
committerslewis2005-05-02 07:09:06 +0000
commitaf9b4a827eb423e089f8d4ab10091de4a0800f60 (patch)
treef7d38e4d2a028ec984d4bbc5fa78ab1db26d6fd5
parent4e26b5a761af2bd05153d7d901060082a2ec6ff8 (diff)
downloadorg.eclipse.ecf-af9b4a827eb423e089f8d4ab10091de4a0800f60.tar.gz
org.eclipse.ecf-af9b4a827eb423e089f8d4ab10091de4a0800f60.tar.xz
org.eclipse.ecf-af9b4a827eb423e089f8d4ab10091de4a0800f60.zip
Added IJoinContext interface for generalizing ISharedObjectContainer.joinGroup() parameters
-rw-r--r--framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/IJoinContext.java2
-rw-r--r--framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/ISharedObjectContainer.java20
2 files changed, 20 insertions, 2 deletions
diff --git a/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/IJoinContext.java b/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/IJoinContext.java
index 63c61b464..3b7c89ec6 100644
--- a/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/IJoinContext.java
+++ b/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/IJoinContext.java
@@ -12,6 +12,6 @@ package org.eclipse.ecf.core;
import javax.security.auth.callback.CallbackHandler;
public interface IJoinContext {
- public Object [] getParameters();
+ public Object [] getRawParameters();
public CallbackHandler getCallbackHandler();
}
diff --git a/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/ISharedObjectContainer.java b/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/ISharedObjectContainer.java
index d4f941a65..76ac7ccb7 100644
--- a/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/ISharedObjectContainer.java
+++ b/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/ISharedObjectContainer.java
@@ -72,7 +72,25 @@ public interface ISharedObjectContainer {
public void joinGroup(ID groupID, Object loginData)
throws SharedObjectContainerJoinException;
- // public void joinGroup(ID groupID, CallbackHandler handler) throws SharedObjectContainerJoinException;
+ /**
+ * Join a container group. The group to join is identified by the first
+ * parameter (groupID) using any required authentication provided via the
+ * second parameter (joinContext). This method provides an implementation
+ * independent way for container implementations to connect, authenticate,
+ * and communicate with a remote service or group of services. Providers are
+ * responsible for implementing this operation in a way appropriate to the
+ * given remote service and expected protocol.
+ *
+ * @param groupID
+ * the ID of the remote service to join
+ * @param joinContext
+ * any required login/authentication context to allow this container
+ * to authenticate
+ * @exception SharedObjectContainerJoinException
+ * thrown if communication cannot be established with remote
+ * service
+ */
+ //public void joinGroup(ID groupID, IJoinContext joinContext) throws SharedObjectContainerJoinException;
/**
* Leave a container group. This operation will disconnect the local

Back to the top