public class CdsServicePath extends Object
CdsResourcePaths which are exposed by the ApplicationServices of a ServiceCatalog| Constructor and Description |
|---|
CdsServicePath() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,ApplicationService> |
basePaths(CdsRuntime runtime,
String protocol)
Creates a map of the base paths of each exposed service to their respective
ApplicationService instance. |
static Stream<CdsResourcePath> |
servicePaths(CdsRuntime runtime,
String protocol)
Creates a
Stream of CdsResourcePath instances containing the paths of all exposed ApplicationServices given in the ServiceCatalog and configuration. |
public static Stream<CdsResourcePath> servicePaths(CdsRuntime runtime, String protocol)
Stream of CdsResourcePath instances containing the paths of all exposed ApplicationServices given in the ServiceCatalog and configuration.
Path in the configuration or annotations in the CDS service model are regarded with priority and override default paths reflecting the full qualified name of the service.runtime - The CdsRuntime, containing the ServiceCatalog with all ApplicationServicesprotocol - The protocol adapter for which these paths should be determinedStream of all CdsResourcePath instances of the given protocol adapterpublic static Map<String,ApplicationService> basePaths(CdsRuntime runtime, String protocol)
ApplicationService instance.
The base paths are calculated for the given protocol adapter.runtime - The CdsRuntime, containing the ServiceCatalog with all ApplicationServicesprotocol - The protocol adapter for which these paths should be determinedApplicationServiceCopyright © 2021. All rights reserved.