Stay organized with collections
Save and categorize content based on your preferences.
GCSConfigurationFactory.GCSConfigLoader
protected
class
GCSConfigurationFactory.GCSConfigLoader
extends ConfigurationFactory.ConfigLoader
Extension of ConfigurationFactory.ConfigLoader
that loads
config from GCS, tracks the included configurations from one root config, and throws an
exception on circular includes.
Summary
Protected methods |
String
|
findConfigName(String name, String parentName)
Find config's name based on its name and its parent name.
|
void
|
trackConfig(String name, ConfigurationDef def)
Track config for dynamic loading.
|
Public constructors
GCSConfigLoader
public GCSConfigLoader (boolean isGlobalConfig)
Parameters |
isGlobalConfig |
boolean |
Protected methods
findConfigName
protected String findConfigName (String name,
String parentName)
Find config's name based on its name and its parent name. This is used to properly handle
bundle configs and local configs.
Parameters |
name |
String : config's name |
parentName |
String : config's parent's name. |
Returns |
String |
the config's full name. |
trackConfig
protected void trackConfig (String name,
ConfigurationDef def)
Track config for dynamic loading. Right now only local files are supported.
Parameters |
name |
String : config's name |
def |
ConfigurationDef : config's def. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-03-08 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-03-08 UTC."],[],[]]