Package com.taobao.zeus.model.processer

Examples of com.taobao.zeus.model.processer.ZooKeeperProcesser


    Processer result=null;
    String id=o.getString("id");
    if("download".equals(id)){
      result= new DownloadProcesser();
    }else if("zookeeper".equalsIgnoreCase(id)){
      result=new ZooKeeperProcesser();
      result.parse(o.getString("config"));
    }else if("mail".equalsIgnoreCase(id)){
      result=new MailProcesser();
      result.parse(o.getString("config"));
    }else if("meta".equalsIgnoreCase(id)){
View Full Code Here


        p.parse(config);
      }
      if(p instanceof DownloadProcesser){
        jobs.add(new DownloadJob(jobContext));
      }else if(p instanceof ZooKeeperProcesser){
        ZooKeeperProcesser zkp=(ZooKeeperProcesser)p;
        if(!zkp.getUseDefault()){
          jobs.add(new ZooKeeperJob(jobContext, (ZooKeeperProcesser) p,applicationContext));
        }
      }else if(p instanceof MailProcesser){
        jobs.add(new MailJob(jobContext, (MailProcesser)p, applicationContext));
      }else if(p instanceof WangWangProcesser){
View Full Code Here

TOP

Related Classes of com.taobao.zeus.model.processer.ZooKeeperProcesser

Copyright © 2018 www.massapicom. 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.