public interface DirectoryOfServices
Modifier and Type | Method and Description |
---|---|
ITKService |
getService(String serviceId)
Get the
ITKService for the supplied serviceId |
ITKTransportRoute |
resolveDestination(String serviceId,
ITKAddress address)
Resolve the
ITKTransportRoute for the supplied service
and logical destination address . |
ITKTransportRoute resolveDestination(String serviceId, ITKAddress address)
ITKTransportRoute
for the supplied service
and logical destination address
. For non-routed messages the returned
transport route will provide the physical destination address of the addressee.
For routed messages the return ITKTransportRoute
may represent the
physical route to the actual destination service or it may resolve to an intermediary
ITK-router - from the message originators perspective it is agnostic.serviceId
- The serviceId representing the ITK service that is being requested
e.g. urn:nhs-itk:services:201005:transferPatient-v1-0
address
- The logical address of the destination e.g. urn:nhs-uk:addressing:ods:TESTORGS:ORGB
ITKService getService(String serviceId)
ITKService
for the supplied serviceId
serviceId
- The ITK Service Id representing the ITK service that is being requested
e.g. urn:nhs-itk:services:201005:transferPatient-v1-0
All content is available under the Open Government Licence, except where otherwise stated
All example source code is available under Apache 2.0, except where otherwise stated