Examples of deployCustomEventProcessors()


Examples of org.jwall.audit.EventProcessorFinder.deployCustomEventProcessors()

  public void setUp() throws Exception {
    events = EventList
        .getAuditEvents("/default-request-host-audit.log", 10);
    pipeline = new AuditEventProcessorPipeline();
    EventProcessorFinder pf = new EventProcessorFinder();
    pf.deployCustomEventProcessors(DefaultRequestHostProcessorTest.class
        .getResourceAsStream("/default-request-host.xml"), pipeline);
  }

  @Test
  public void test() throws Exception {
View Full Code Here

Examples of org.jwall.audit.processor.AuditEventProcessorFinder.deployCustomEventProcessors()

    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.