public abstract class AbstractInformationProcessorManager extends Object implements InformationProcessorManager
| Constructor and Description |
|---|
AbstractInformationProcessorManager()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This metohd closes the information processor manager.
|
InformationProcessor |
getInformationProcessor(String name)
This method returns the information processor associated
with the supplied name.
|
void |
init()
This method initializes the information processor manager.
|
String |
process(String processor,
String type,
Object info,
Map<String,Object> headers,
ActivityType actType)
This method processes supplied information to
extract relevant details, and then return an
appropriate representation of that information
for public distribution.
|
void |
register(InformationProcessor ip)
This method registers the information processor.
|
void |
unregister(InformationProcessor ip)
This method registers the information processor.
|
public AbstractInformationProcessorManager()
public void init()
public void register(InformationProcessor ip) throws Exception
register in interface InformationProcessorManagerip - The information processorException - Failed to registerpublic InformationProcessor getInformationProcessor(String name)
getInformationProcessor in interface InformationProcessorManagername - The namepublic String process(String processor, String type, Object info, Map<String,Object> headers, ActivityType actType)
process in interface InformationProcessorManagerprocessor - The optional information processor to usetype - The information typeinfo - The information to be processedheaders - The optional header informationactType - The activity type to be annotated with
details extracted from the informationpublic void unregister(InformationProcessor ip) throws Exception
unregister in interface InformationProcessorManagerip - The information processorException - Failed to unregisterCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.