public interface DispatchLayerService
Modifier and Type | Method and Description |
---|---|
DispatchLayer<?> |
createDispatchLayer(URI uri,
com.fasterxml.jackson.databind.JsonNode configuration)
Returns the dispatch layer for the specified URI.
|
boolean |
dispatchLayerExists(URI dispatchLayerType)
Returns true iff a dispatch layer exists for the specified URI.
|
com.fasterxml.jackson.databind.JsonNode |
getDispatchLayerConfigurationSchema(URI dispatchLayerType)
Returns the JSON Schema for the configuration required by a dispatch
layer.
|
Set<URI> |
getDispatchLayerTypes()
Returns the available dispatch layer types.
|
Set<URI> getDispatchLayerTypes()
boolean dispatchLayerExists(URI dispatchLayerType)
dispatchLayerType
- the dispatch layer type to checkcom.fasterxml.jackson.databind.JsonNode getDispatchLayerConfigurationSchema(URI dispatchLayerType) throws DispatchLayerNotFoundException, DispatchLayerConfigurationException
activityType
- the activity typeDispatchLayerNotFoundException
- if a dispatch layer cannot be found for the specified URIDispatchLayerConfigurationException
- if the JSON Schema cannot be createdDispatchLayer<?> createDispatchLayer(URI uri, com.fasterxml.jackson.databind.JsonNode configuration) throws DispatchLayerNotFoundException, DispatchLayerConfigurationException
uri
- a URI that identifies a dispatch layerconfiguration
- the configuration for the dispatch layer, can be
null
DispatchLayerNotFoundException
- if a dispatch layer cannot be found for the specified URIDispatchLayerConfigurationException
- if the configuration is not validCopyright © 2015–2016 The Apache Software Foundation. All rights reserved.