Package com.hsbc.cranker.mucranker
Interface ConnectorService
-
public interface ConnectorServiceInformation about a service that is connected to this router.A "service" is 1 or more connector instances that register the same route.
Get a copy of this data by calling
CrankerRouter.collectInfo()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringcomponentName()List<ConnectorInstance>connectors()booleanisCatchAll()Stringroute()Map<String,Object>toMap()
-
-
-
Method Detail
-
route
String route()
- Returns:
- The path prefix of the service, or "*" if it is a catch-all service.
- See Also:
isCatchAll()
-
componentName
String componentName()
- Returns:
- The component name that the connector registered
-
connectors
List<ConnectorInstance> connectors()
- Returns:
- The connectors that serve this route.
-
isCatchAll
boolean isCatchAll()
- Returns:
- True if this connector serves from the root of the URL path
-
-