public void init() throws ConfigurationSetupException { StandardConfigurationSetupManagerFactory factory = new StandardConfigurationSetupManagerFactory( (String[]) null, StandardConfigurationSetupManagerFactory.ConfigMode.EXPRESS_L1, new FatalIllegalConfigurationChangeHandler(), configSpec, securityManager); L1ConfigurationSetupManager config = factory.getL1TVSConfigurationSetupManager(securityInfo); config.setupLogging(); PreparedComponentsFromL2Connection l2Connection; try { l2Connection = validateMakeL2Connection(config, securityManager); } catch (Exception e) { throw new ConfigurationSetupException(e.getLocalizedMessage(), e); } DSOClientConfigHelper configHelperLocal = new StandardDSOClientConfigHelperImpl(config); this.configHelper = configHelperLocal; manager.set(configHelper, l2Connection); try { startToolkitConfigurator(); } catch (Exception e) { throw new ConfigurationSetupException(e.getLocalizedMessage(), e); } manager.init(); }
public void init() throws ConfigurationSetupException { StandardConfigurationSetupManagerFactory factory = new StandardConfigurationSetupManagerFactory( (String[]) null, StandardConfigurationSetupManagerFactory.ConfigMode.EXPRESS_L1, new FatalIllegalConfigurationChangeHandler(), configSpec, securityManager); L1ConfigurationSetupManager config = factory.getL1TVSConfigurationSetupManager(securityInfo); config.setupLogging(); PreparedComponentsFromL2Connection l2Connection; try { l2Connection = validateMakeL2Connection(config, securityManager); } catch (Exception e) { throw new ConfigurationSetupException(e.getLocalizedMessage(), e); } DSOClientConfigHelper configHelperLocal = new StandardDSOClientConfigHelperImpl(config); this.configHelper = configHelperLocal; manager.set(configHelper, l2Connection); try { startToolkitConfigurator(); } catch (Exception e) { throw new ConfigurationSetupException(e.getLocalizedMessage(), e); } manager.init(); }