Class GlobalInvocationTarget
java.lang.Object
de.aristaflow.adept2.base.registry.GlobalInvocationTarget
- All Implemented Interfaces:
InvocationTarget
The invocation target for global URIs resolving global URIs to local URIs and
providing the corresponding invocation target.
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.aristaflow.adept2.base.communication.InvocationTarget
InvocationTarget.InvocationHandling -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final GlobalInvocationResolverThe object handling the global registry invocation. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new invocation target for global URIs. -
Method Summary
Modifier and TypeMethodDescriptiongetInvocationHandling(URI remId, URI regId) Gets the interfaces required to handle the invocation for the designated URI.getServiceInstNames(URI remId) Gets the component type name and the simple instance name of the service instance the designated remote identifier refers to.
-
Field Details
-
gir
The object handling the global registry invocation. This is used for resolving the global registry URI as well as invalidating the global registry in case of communication problems.
-
-
Constructor Details
-
GlobalInvocationTarget
Creates a new invocation target for global URIs.- Parameters:
gir- The object handling the global registry invocation. This is used for resolving the global registry URI as well as invalidating the global registry in case of communication problems.
-
-
Method Details
-
getInvocationHandling
Description copied from interface:InvocationTargetGets the interfaces required to handle the invocation for the designated URI. These are the invocation delegate for proxy calls, the export for callback objects as well as the communication service specific URI.- Specified by:
getInvocationHandlingin interfaceInvocationTarget- Parameters:
remId- The (physical) remote identifier for which to get the invocation delegate, the callback export and the communication service specific URI.regId- The original (logical) remote identifier of the remote service to call, in case a URI mapping was applied on the original URI.- Returns:
- The invocation delegate, the callback export and the communication service specific URI.
-
getServiceInstNames
Description copied from interface:InvocationTargetGets the component type name and the simple instance name of the service instance the designated remote identifier refers to.- Specified by:
getServiceInstNamesin interfaceInvocationTarget- Parameters:
remId- The remote identifier from which to retrieve the service instance name.- Returns:
- The component type name and the simple instance name of the service instance the designated remote identifier refers to.
-