Class InvocationTarget.InvocationHandling
java.lang.Object
de.aristaflow.adept2.base.communication.InvocationTarget.InvocationHandling
- Enclosing interface:
- InvocationTarget
A class encapsulating all objects required for invocation handling of
global URIs and therefore late binding of connections.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ADEPT2CallbackExportThe callback export of a specific communication service for replacing callback objects by an appropriate URI.protected GlobalInvocationResolverThe resolver for global URIs ornullif the invocation is not based on a global URI.protected final InvocationDelegateThe invocation delegate processes a remote call through a specific communication stack/service.protected final URIThe local (physical) URI specific to a communication service.protected final URIThe original (logical) URI identifying the remote service to call, in case a URI mapping was applied on thelocalUri. -
Constructor Summary
ConstructorsConstructorDescriptionInvocationHandling(InvocationDelegate invDel, ADEPT2CallbackExport callbackExport, URI localUri, URI registeredUri) Creates a new instance encapsulating the designated objects for invocation handling of global URIs. -
Method Summary
Modifier and TypeMethodDescriptionGets the callback export of a specific communication service for replacing callback objects by an appropriate URI.Gets the resolver for global URIs ornullif the invocation is not based on a global URI.Gets the invocation delegate processes a remote call through a specific communication stack/service.Gets the local (physical) URI specific to a communication service.Gets the original (logical) URI identifying the remote service to call, in case a URI mapping was applied on the original URI.voidSets the resolver for global URIs.
-
Field Details
-
invDel
The invocation delegate processes a remote call through a specific communication stack/service. -
callbackExport
The callback export of a specific communication service for replacing callback objects by an appropriate URI. -
localUri
The local (physical) URI specific to a communication service. -
registeredUri
The original (logical) URI identifying the remote service to call, in case a URI mapping was applied on thelocalUri. -
gir
The resolver for global URIs ornullif the invocation is not based on a global URI.
-
-
Constructor Details
-
InvocationHandling
public InvocationHandling(InvocationDelegate invDel, ADEPT2CallbackExport callbackExport, URI localUri, URI registeredUri) Creates a new instance encapsulating the designated objects for invocation handling of global URIs.- Parameters:
invDel- The invocation delegate processes a remote call through a specific communication stack/service.callbackExport- The callback export of a specific communication service for replacing callback objects by an appropriate URI.localUri- The local (physical) URI specific to a communication service.registeredUri- The original (logical) URI identifying the remote service to call, in case a URI mapping was applied on thelocalUri.
-
-
Method Details
-
getInvocationDelegate
Gets the invocation delegate processes a remote call through a specific communication stack/service.- Returns:
- The invocation delegate processes a remote call through a specific communication stack/service.
-
getAdept2CallbackExport
Gets the callback export of a specific communication service for replacing callback objects by an appropriate URI.- Returns:
- The callback export of a specific communication service for replacing callback objects by an appropriate URI.
-
getLocalUri
Gets the local (physical) URI specific to a communication service.- Returns:
- The local (physical) URI specific to a communication service.
-
getGlobalInvocationResolver
Gets the resolver for global URIs ornullif the invocation is not based on a global URI.- Returns:
- The resolver for global URIs or
nullif the invocation is not based on a global URI.
-
setGlobalInvocationResolver
Sets the resolver for global URIs.- Parameters:
gir- The resolver for global URIs.
-
getRegisteredUri
Gets the original (logical) URI identifying the remote service to call, in case a URI mapping was applied on the original URI.- Returns:
- The original (logical) URI identifying the remote service to call, in case a URI mapping was applied on the original URI.
-