Examples of AuditEventProcessorFinder


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
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.