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.
| Constructor and Description |
|---|
EventProcessorFinder() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected void |
deployEventProcessors(NodeList candidateNodes,
AuditEventProcessorPipeline pipeline)
This method basically does the real work as it parses the list of
candidate nodes that might be referring to processors and creates objects
from theses that are deployed in the specified pipeline.
|
public void deployCustomEventProcessors(File procDefs, AuditEventProcessorPipeline pipeline) throws Exception
procDefs - pipeline - Exceptionpublic void deployCustomEventProcessors(InputStream processorDefinitions, AuditEventProcessorPipeline pipeline) throws Exception
processorDefinitions - pipeline - Exceptionprotected void deployEventProcessors(NodeList candidateNodes, AuditEventProcessorPipeline pipeline)
candidateNodes - pipeline - Copyright © 2015 jwall.org. All Rights Reserved.