/** * initialize datasource configuration from the given json document * * @param node Json document * * The document has the following format: <pre> * { * "datasourceName" : { * "type" : datasourceType, * <Type specific configuration> * } * ... * } * </pre> * * Each datasource is defined by a field in a Json object. For each * datasource definition, the 'type' field gives the class name of a a * JsonInitializable object. When Json object is processed, an instance of * 'type' is instantiated for each datasource, and processing of the actual * datasource configuration is delegated to the implementation, */ public DataSourcesConfiguration(JsonNode node) { this.initializeFromJson(node); }
/** * initialize datasource configuration from the given json document * * @param node Json document * * The document has the following format: <pre> * { * "datasourceName" : { * "type" : datasourceType, * <Type specific configuration> * } * ... * } * </pre> * * Each datasource is defined by a field in a Json object. For each * datasource definition, the 'type' field gives the class name of a a * JsonInitializable object. When Json object is processed, an instance of * 'type' is instantiated for each datasource, and processing of the actual * datasource configuration is delegated to the implementation, */ public DataSourcesConfiguration(JsonNode node) { this.initializeFromJson(node); }
/** * initialize datasource configuration from the given json document * * @param node Json document * * The document has the following format: <pre> * { * "datasourceName" : { * "type" : datasourceType, * <Type specific configuration> * } * ... * } * </pre> * * Each datasource is defined by a field in a Json object. For each * datasource definition, the 'type' field gives the class name of a a * JsonInitializable object. When Json object is processed, an instance of * 'type' is instantiated for each datasource, and processing of the actual * datasource configuration is delegated to the implementation, */ public DataSourcesConfiguration(JsonNode node) { this.initializeFromJson(node); }