public void Init()
        {
            XmlConfigurator.Configure(new FileInfo("log4net_commonlibrary.config"));
            mbeanServerExtension = MBeanServerExtension.Instance;

            wcfExporter = new MBeanServerWcfExporter(new MBeanServerService(mbeanServerExtension.MBeanServer));
            wcfExporter.Start();

            mbeanServerExtension.AddMBean("ValidMBean", new ValidInstance());

            Thread.Sleep(500);
        }
        public void Init()
        {
            XmlConfigurator.Configure(new FileInfo("log4net_commonlibrary.config"));
            mbeanServerExtension = MBeanServerExtension.Instance;

            wcfExporter = new MBeanServerWcfExporter(new MBeanServerService(mbeanServerExtension.MBeanServer));
            wcfExporter.Start();

            mbeanServerExtension.AddMBean("ValidMBean", new ValidInstance());

            Thread.Sleep(500);
        }