public abstract class AbstractRSAClientContainer extends AbstractClientContainer implements IRSAConsumerContainerAdapter
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRSAClientContainer.RSAClientRegistration |
alwaysSendDefaultParameters, connectContext, connectedID, connectLock, containerID, parameterSerializer, parameterSerializerLock, registry, remoteResponseDeserializer, remoteResponseDeserializerLock, remoteServiceFactory, remoteServiceListeners| Constructor and Description |
|---|
AbstractRSAClientContainer(ID containerID) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
connectToEndpoint(ID connectTargetID) |
protected IRemoteCallable[][] |
createRegistrationCallables(ID targetID,
String[] interfaces,
Dictionary endpointDescriptionProperties) |
protected Dictionary |
createRegistrationProperties(Map<String,Object> endpointDescriptionProperties) |
protected RemoteServiceClientRegistration |
createRSAClientRegistration(ID targetID,
String[] interfaces,
Map<String,Object> endpointDescriptionProperties) |
Namespace |
getConnectNamespace()
Get the Namespace for creating a targetID suitable for use as the first
parameter in subsequent calls to
IContainer.connect(ID, IConnectContext). |
IRemoteServiceReference[] |
importEndpoint(Map<String,Object> endpointDescriptionProperties) |
protected String |
prepareEndpointAddress(IRemoteCall call,
IRemoteCallable callable)
Prepare an endpoint address for the given call and callable.
|
RemoteServiceClientRegistration |
registerEndpoint(ID targetID,
String[] interfaces,
Map<String,Object> endpointDescriptionProperties) |
boolean |
setRemoteServiceCallPolicy(IRemoteServiceCallPolicy policy)
Set the remote service call policy to enable authorization on remote service method calls
|
addRemoteServiceListener, 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, ungetRemoteServiceaddListener, fireContainerEvent, getAdapter, getPasswordFromConnectContext, removeListenerpublic AbstractRSAClientContainer(ID containerID)
public boolean setRemoteServiceCallPolicy(IRemoteServiceCallPolicy policy)
IRemoteServiceContainerAdaptersetRemoteServiceCallPolicy in interface IRemoteServiceContainerAdapterpolicy - Implementation of IRemoteServiceCallPolicy containing authorization specific codetrue if the underlying provider supports using the policy, false if
it does not support using the policy.public Namespace getConnectNamespace()
IContainerIContainer.connect(ID, IConnectContext).
If this method returns null, then it means that
null is expected as a valid parameter in subsequent calls
to IContainer.connect(ID, IConnectContext). If this method returns a non-null
Namespace, then the targetID parameter in
IContainer.connect(ID, IConnectContext) must be non-null
instance created of the returned Namespace.getConnectNamespace in interface IContainerIContainer.connect(ID, IConnectContext). If null,
then the targetID instances passed to
IContainer.connect(ID, IConnectContext) may be null.
If not null, then targetID
instances passed to IContainer.connect(ID, IConnectContext) must be
instances of the returned Namespace.protected void connectToEndpoint(ID connectTargetID) throws ContainerConnectException
ContainerConnectExceptionprotected IRemoteCallable[][] createRegistrationCallables(ID targetID, String[] interfaces, Dictionary endpointDescriptionProperties)
protected Dictionary createRegistrationProperties(Map<String,Object> endpointDescriptionProperties)
protected RemoteServiceClientRegistration createRSAClientRegistration(ID targetID, String[] interfaces, Map<String,Object> endpointDescriptionProperties)
public RemoteServiceClientRegistration registerEndpoint(ID targetID, String[] interfaces, Map<String,Object> endpointDescriptionProperties)
public IRemoteServiceReference[] importEndpoint(Map<String,Object> endpointDescriptionProperties) throws ContainerConnectException, InvalidSyntaxException
importEndpoint in interface IRSAConsumerContainerAdapterContainerConnectExceptionInvalidSyntaxExceptionprotected String prepareEndpointAddress(IRemoteCall call, IRemoteCallable callable)
AbstractClientContainerprepareEndpointAddress in class AbstractClientContainercall - to create an endpoint for. Will not be null.callable - to create an endpoing for. Will not be null.null if the
given call should not be completed (i.e. there is no endpoint associated with the given call).Copyright © 2004–2020 Eclipse Foundation. All rights reserved.