public interface ApplicationDefinition
GatewayApplication.
It provides the application with the configured parameters for the
application. This is passed to the GatewayApplication.initialize(com.diffusiondata.gateway.framework.ApplicationDefinition)
method.
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Returns the application identifier as supplied in the configuration.
|
Map<String,Object> |
getParameters()
Returns the configured global parameters for the application.
|
String getId()
Map<String,Object> getParameters()
The parameters are passed as a map of String keys and Object values which represent the application specific JSON configuration object.
The types of the map values will depend upon the configuration structures. For a simple JSON object with all String values, the values would be of type String. For other JSON primitive value types the value types could be String, Integer, Double etc. For more complex JSON structures the type could be List (for a JSON array) or Map (for a JSON object} and these could have values of any of the previously mentioned types.
Copyright © 2023 DiffusionData Limited. All rights reserved.