Package org.jwall.audit.processor

Examples of org.jwall.audit.processor.AuditEventProcessorFinder


  static Logger log = LoggerFactory.getLogger(EventProcessorFinderTest.class);

  @Test
  public void test() {

    AuditEventProcessorFinder finder = new AuditEventProcessorFinder();
    AuditEventProcessorPipeline pipeline = new AuditEventProcessorPipeline();

    URL url = EventProcessorFinderTest.class
        .getResource("/event-processors.xml");
    log.info("Adding event-processors from {}", url);

    try {
      finder.deployCustomEventProcessors(url.openStream(), pipeline);

      for (EventProcessor<AuditEvent> p : pipeline.getProcessors()) {
        log.info("Priority: {}, processor: {}",
            pipeline.getPriority(p), p);
      }
View Full Code Here

TOP

Related Classes of org.jwall.audit.processor.AuditEventProcessorFinder

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.