org.jwall.audit
Class EventProcessorFinder

java.lang.Object
  extended by org.jwall.audit.EventProcessorFinder

public class EventProcessorFinder
extends Object

This class parses an XML document and checks for any Processor or processor elements. These elements will be instantiated as event processors and deployed in the given pipeline object.

Author:
Christian Bockermann <chris@jwall.org>

Constructor Summary
EventProcessorFinder()
           
 
Method Summary
 void deployCustomEventProcessors(File procDefs, AuditEventProcessorPipeline pipeline)
          This method parses the given XML file and deploys any processor nodes that have been found in the given pipeline.
 void deployCustomEventProcessors(InputStream processorDefinitions, AuditEventProcessorPipeline pipeline)
          This method parses an XML document from the given input-stream and deploys any processor nodes that have been found at the given pipeline instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventProcessorFinder

public EventProcessorFinder()
Method Detail

deployCustomEventProcessors

public void deployCustomEventProcessors(File procDefs,
                                        AuditEventProcessorPipeline pipeline)
                                 throws Exception
This method parses the given XML file and deploys any processor nodes that have been found in the given pipeline.

Parameters:
procDefs -
pipeline -
Throws:
Exception

deployCustomEventProcessors

public void deployCustomEventProcessors(InputStream processorDefinitions,
                                        AuditEventProcessorPipeline pipeline)
                                 throws Exception
This method parses an XML document from the given input-stream and deploys any processor nodes that have been found at the given pipeline instance.

Parameters:
processorDefinitions -
pipeline -
Throws:
Exception


Copyright © 2012 jwall.org. All Rights Reserved.