Class AbstractRSAClientContainer
- java.lang.Object
- 
- org.eclipse.ecf.core.AbstractContainer
- 
- org.eclipse.ecf.remoteservice.client.AbstractClientContainer
- 
- org.eclipse.ecf.remoteservice.client.AbstractRSAClientContainer
 
 
 
- 
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable,- IContainer,- IIdentifiable,- IRemoteServiceClientContainerAdapter,- IRemoteServiceConsumer,- IRemoteServiceContainerAdapter,- IRemoteServiceHost,- IRSAConsumerContainerAdapter
 
 public abstract class AbstractRSAClientContainer extends AbstractClientContainer implements IRSAConsumerContainerAdapter Abstract client container for use by RSA distribution providers. Implements IRSAConsumerContainerAdapter.- Since:
- 8.9
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classAbstractRSAClientContainer.RSAClientRegistration
 - 
Field Summary- 
Fields inherited from class org.eclipse.ecf.remoteservice.client.AbstractClientContaineralwaysSendDefaultParameters, connectContext, connectedID, connectLock, containerID, parameterSerializer, parameterSerializerLock, registry, remoteResponseDeserializer, remoteResponseDeserializerLock, remoteServiceFactory, remoteServiceListeners
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractRSAClientContainer(ID containerID)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconnectToEndpoint(ID connectTargetID)protected IRemoteCallable[][]createRegistrationCallables(ID targetID, String[] interfaces, Dictionary endpointDescriptionProperties)protected DictionarycreateRegistrationProperties(Map<String,Object> endpointDescriptionProperties)protected RemoteServiceClientRegistrationcreateRSAClientRegistration(ID targetID, String[] interfaces, Map<String,Object> endpointDescriptionProperties)NamespacegetConnectNamespace()Get the Namespace for creating a targetID suitable for use as the first parameter in subsequent calls toIContainer.connect(ID, IConnectContext).IRemoteServiceReference[]importEndpoint(Map<String,Object> endpointDescriptionProperties)protected StringprepareEndpointAddress(IRemoteCall call, IRemoteCallable callable)Prepare an endpoint address for the given call and callable.RemoteServiceClientRegistrationregisterEndpoint(ID targetID, String[] interfaces, Map<String,Object> endpointDescriptionProperties)booleansetRemoteServiceCallPolicy(IRemoteServiceCallPolicy policy)Set the remote service call policy to enable authorization on remote service method calls- 
Methods inherited from class org.eclipse.ecf.remoteservice.client.AbstractClientContaineraddRemoteServiceListener, asyncGetRemoteServiceReferences, asyncGetRemoteServiceReferences, asyncGetRemoteServiceReferences, connect, createRemoteFilter, createRemoteService, createRestServiceRegistration, createRestServiceRegistration, createUriRequest, disconnect, dispose, getAllRemoteServiceReferences, getConnectContextForAuthentication, getConnectedID, getID, getParameterSerializer, getParameterSerializer, getRemoteCallTargetID, getRemoteService, getRemoteServiceID, getRemoteServiceNamespace, getRemoteServiceReference, getRemoteServiceReferences, getRemoteServiceReferences, getRemoteServiceReferences, getResponseDeserializer, getResponseDeserializer, logException, prepareCallParameters, prepareExtraParameters, prepareParameters, processResponse, registerCallables, registerCallables, registerCallables, registerRemoteService, removeRemoteServiceListener, serializeParameter, serializeParameter, setAlwaysSendDefaultParameters, setConnectContextForAuthentication, setParameterSerializer, setRemoteServiceFactory, setResponseDeserializer, ungetRemoteService
 - 
Methods inherited from class org.eclipse.ecf.core.AbstractContaineraddListener, fireContainerEvent, getAdapter, getPasswordFromConnectContext, removeListener
 
- 
 
- 
- 
- 
Constructor Detail- 
AbstractRSAClientContainerpublic AbstractRSAClientContainer(ID containerID) 
 
- 
 - 
Method Detail- 
setRemoteServiceCallPolicypublic boolean setRemoteServiceCallPolicy(IRemoteServiceCallPolicy policy) Description copied from interface:IRemoteServiceContainerAdapterSet the remote service call policy to enable authorization on remote service method calls- Specified by:
- setRemoteServiceCallPolicyin interface- IRemoteServiceContainerAdapter
- Parameters:
- policy- Implementation of- IRemoteServiceCallPolicycontaining authorization specific code
- Returns:
- trueif the underlying provider supports using the policy,- falseif it does not support using the policy.
 
 - 
getConnectNamespacepublic Namespace getConnectNamespace() Description copied from interface:IContainerGet the Namespace for creating a targetID suitable for use as the first parameter in subsequent calls toIContainer.connect(ID, IConnectContext). If this method returnsnull, then it means thatnullis expected as a valid parameter in subsequent calls toIContainer.connect(ID, IConnectContext). If this method returns a non-nullNamespace, then thetargetIDparameter inIContainer.connect(ID, IConnectContext)must be non-nullinstance created of the returned Namespace.- Specified by:
- getConnectNamespacein interface- IContainer
- Returns:
- Namespace the namespace associated with subsequent calls to
         IContainer.connect(ID, IConnectContext). Ifnull, then thetargetIDinstances passed toIContainer.connect(ID, IConnectContext)may benull. If notnull, thentargetIDinstances passed toIContainer.connect(ID, IConnectContext)must be instances of the returned Namespace.
 
 - 
connectToEndpointprotected void connectToEndpoint(ID connectTargetID) throws ContainerConnectException - Throws:
- ContainerConnectException
 
 - 
createRegistrationCallablesprotected IRemoteCallable[][] createRegistrationCallables(ID targetID, String[] interfaces, Dictionary endpointDescriptionProperties) 
 - 
createRegistrationPropertiesprotected Dictionary createRegistrationProperties(Map<String,Object> endpointDescriptionProperties) 
 - 
createRSAClientRegistrationprotected RemoteServiceClientRegistration createRSAClientRegistration(ID targetID, String[] interfaces, Map<String,Object> endpointDescriptionProperties) 
 - 
registerEndpointpublic RemoteServiceClientRegistration registerEndpoint(ID targetID, String[] interfaces, Map<String,Object> endpointDescriptionProperties) 
 - 
importEndpointpublic IRemoteServiceReference[] importEndpoint(Map<String,Object> endpointDescriptionProperties) throws ContainerConnectException, InvalidSyntaxException - Specified by:
- importEndpointin interface- IRSAConsumerContainerAdapter
- Throws:
- ContainerConnectException
- InvalidSyntaxException
 
 - 
prepareEndpointAddressprotected String prepareEndpointAddress(IRemoteCall call, IRemoteCallable callable) Description copied from class:AbstractClientContainerPrepare an endpoint address for the given call and callable.- Specified by:
- prepareEndpointAddressin class- AbstractClientContainer
- Parameters:
- call- to create an endpoint for. Will not be- null.
- callable- to create an endpoing for. Will not be- null.
- Returns:
- String that represents the endpoing for the given call and callable.  May only return nullif the given call should not be completed (i.e. there is no endpoint associated with the given call).
 
 
- 
 
-