Esempio n. 1
0
        protected override Configuration GetConfiguration()
        {
            var localConfig = base.GetConfiguration();

            BootConfLoader.ProcessAllExistingIncludes(localConfig.Root, null, "boot");

            m_BootConfigRoot = localConfig.Root;

            var cmdArgs = new string[] {};

            if (CommandArgs.Configuration is CommandArgsConfiguration)
            {
                cmdArgs = ((CommandArgsConfiguration)this.CommandArgs.Configuration).Arguments;
            }

            return(BootConfLoader.Load(cmdArgs, localConfig));
        }
Esempio n. 2
0
 private class TestDisposer : IDisposable { public void Dispose()
                                            {
                                                BootConfLoader.Unload();
                                            }
Esempio n. 3
0
 protected override void Destructor()
 {
     BootConfLoader.Unload();
     base.Destructor();
 }
Esempio n. 4
0
 public AgniServiceApplication(SystemApplicationType sysAppType, string[] args, ConfigSectionNode rootConfig)
     : base(BootConfLoader.SetSystemApplicationType(sysAppType, args), rootConfig)
 {
 }