public class GlobalInvocationTarget extends java.lang.Object implements InvocationTarget
InvocationTarget.InvocationHandling| Modifier and Type | Field and Description |
|---|---|
protected GlobalInvocationResolver |
gir
The object handling the global registry invocation.
|
| Modifier | Constructor and Description |
|---|---|
protected |
GlobalInvocationTarget(GlobalInvocationResolver gir)
Creates a new invocation target for global URIs.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getInstanceNameFromServiceUri(java.net.URI remId)
Returns the hierarchical instance name from the designated remote
identifier.
|
InvocationTarget.InvocationHandling |
getInvocationHandling(java.net.URI remId)
Gets the interfaces required to handle the invocation for the designated
URI.
|
protected final GlobalInvocationResolver gir
protected GlobalInvocationTarget(GlobalInvocationResolver gir)
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.public InvocationTarget.InvocationHandling getInvocationHandling(java.net.URI remId)
InvocationTargetgetInvocationHandling in interface InvocationTargetremId - The remote identifier for which to get the invocation
delegate, the callback export and the communication service
specific URI.public java.lang.String getInstanceNameFromServiceUri(java.net.URI remId)
InvocationTargetWhenever the instance name needs to be derived from a service identifier, this method should be called. This keeps the way, how the instance name is stored in the identifier more exchangeable.
getInstanceNameFromServiceUri in interface InvocationTargetremId - The remote identifier from which to retrieve the service
instance name.