Class InvocationTarget.InvocationHandling
- java.lang.Object
-
- de.aristaflow.adept2.base.communication.InvocationTarget.InvocationHandling
-
- Enclosing interface:
- InvocationTarget
public static class InvocationTarget.InvocationHandling extends Object
A class encapsulating all objects required for invocation handling of global URIs and therefore late binding of connections.
-
-
Field Summary
Fields Modifier and Type Field Description protected ADEPT2CallbackExport
callbackExport
The callback export of a specific communication service for replacing callback objects by an appropriate URI.protected GlobalInvocationResolver
gir
The resolver for global URIs ornull
if the invocation is not based on a global URI.protected InvocationDelegate
invDel
The invocation delegate processes a remote call through a specific communication stack/service.protected URI
localUri
The local (physical) URI specific to a communication service.protected URI
registeredUri
The original (logical) URI identifying the remote service to call, in case a URI mapping was applied on thelocalUri
.
-
Constructor Summary
Constructors Constructor Description InvocationHandling(InvocationDelegate invDel, ADEPT2CallbackExport callbackExport, URI localUri, URI registeredUri)
Creates a new instance encapsulating the designated objects for invocation handling of global URIs.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ADEPT2CallbackExport
getAdept2CallbackExport()
Gets the callback export of a specific communication service for replacing callback objects by an appropriate URI.GlobalInvocationResolver
getGlobalInvocationResolver()
Gets the resolver for global URIs ornull
if the invocation is not based on a global URI.InvocationDelegate
getInvocationDelegate()
Gets the invocation delegate processes a remote call through a specific communication stack/service.URI
getLocalUri()
Gets the local (physical) URI specific to a communication service.URI
getRegisteredUri()
Gets the original (logical) URI identifying the remote service to call, in case a URI mapping was applied on the original URI.void
setGlobalInvocationResolver(GlobalInvocationResolver gir)
Sets the resolver for global URIs.
-
-
-
Field Detail
-
invDel
protected final InvocationDelegate invDel
The invocation delegate processes a remote call through a specific communication stack/service.
-
callbackExport
protected final ADEPT2CallbackExport callbackExport
The callback export of a specific communication service for replacing callback objects by an appropriate URI.
-
localUri
protected final URI localUri
The local (physical) URI specific to a communication service.
-
registeredUri
protected final URI registeredUri
The original (logical) URI identifying the remote service to call, in case a URI mapping was applied on thelocalUri
.
-
gir
protected GlobalInvocationResolver gir
The resolver for global URIs ornull
if the invocation is not based on a global URI.
-
-
Constructor Detail
-
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 Detail
-
getInvocationDelegate
public InvocationDelegate 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
public ADEPT2CallbackExport 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
public URI getLocalUri()
Gets the local (physical) URI specific to a communication service.- Returns:
- The local (physical) URI specific to a communication service.
-
getGlobalInvocationResolver
public GlobalInvocationResolver getGlobalInvocationResolver()
Gets the resolver for global URIs ornull
if the invocation is not based on a global URI.- Returns:
- The resolver for global URIs or
null
if the invocation is not based on a global URI.
-
setGlobalInvocationResolver
public void setGlobalInvocationResolver(GlobalInvocationResolver gir)
Sets the resolver for global URIs.- Parameters:
gir
- The resolver for global URIs.
-
getRegisteredUri
public URI 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.
-
-