Package org.itnaf.webapp.util

Examples of org.itnaf.webapp.util.PassThroughPipeCount


      System.out.println("failed to load properties from [" + props + "]");
    }
    org.openadaptor.adaptor.ldap.LDAPSource ldaps =
      new org.openadaptor.adaptor.ldap.LDAPSource();
   
    PassThroughPipeCount ptp = new PassThroughPipeCount();
    org.openadaptor.adaptor.benchmark.NullSink ns =
      new org.openadaptor.adaptor.benchmark.NullSink();
    STPipelineController pc =
      new STPipelineController();
   
    SimpleController sc = new SimpleController();
   
    try {
      sc.init("Controller", props, "A", null);
      sc.setExitAllowed(false);
      ldaps.init("LDAP", props, "A.C1", sc);
      ptp.init("PTP", props, "A.C2", sc);
      ns.init("NS", props, "A.C3", sc);
      sc.setPipelineController(pc);
      sc.linkSourceAndSink(ldaps, ptp);
      sc.linkSourceAndSink(ptp, ns);
      sc.run();
View Full Code Here

TOP

Related Classes of org.itnaf.webapp.util.PassThroughPipeCount

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.