Package com.dianping.cat

Examples of com.dianping.cat.ServerConfigManager.initialize()


public class DumpUploaderSample extends ComponentTestCase {
  @Before
  public void before() throws Exception {
    ServerConfigManager manager = lookup(ServerConfigManager.class);

    manager.initialize(new File("/data/appdatas/cat/server.xml"));
  }

  @Test
  public void testUpload() throws Exception {
    MessageAnalyzerManager manager = lookup(MessageAnalyzerManager.class);
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.