Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step 2: Trigger the initialize method

Code Block
languagejavajs
ConfigurationManager configMgr = ConfigurationManager.getInstance();
configMgr.initializeFromBundle("<PROPERTIES_FILE_NAME>"); 

Assuming that your CT configuration file name is MyImplementation.properties, the syntax to instantiate the bundle is as follows:

Code Block
languagejavajs
ConfigurationManager configMgr = ConfigurationManager.getInstance();
configMgr.initializeFromBundle("MyImplementation"); 

...