Package com.dianping.cat.configuration

Examples of com.dianping.cat.configuration.ClientConfigManager.initialize()


  @Override
  public void setUp() throws Exception {
    super.setUp();

    ClientConfigManager configManager = lookup(ClientConfigManager.class);
    configManager.initialize(getConfigurationFile());

    m_queue.clear();
    defineComponent(TransportManager.class, null, MockTransportManager.class);

    MockTransportManager transportManager = (MockTransportManager) lookup(TransportManager.class);
View Full Code Here


    Threads.addListener(new CatThreadListener(ctx));

    File clientConfigFile = ctx.getAttribute("cat-client-config-file");
    ClientConfigManager clientConfigManager = ctx.lookup(ClientConfigManager.class);

    clientConfigManager.initialize(clientConfigFile);

    // warm up Cat
    Cat.getInstance().setContainer(((DefaultModuleContext) ctx).getContainer());

    // bring up TransportManager
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.