org.talend.esb.sam.common.handler.impl
Class CustomInfoHandler

java.lang.Object
  extended by org.talend.esb.sam.common.handler.impl.CustomInfoHandler
All Implemented Interfaces:
EventHandler

public class CustomInfoHandler
extends Object
implements EventHandler

Adds a fixed set of custom info fields to the event.


Constructor Summary
CustomInfoHandler()
           
 
Method Summary
 void handleEvent(Event event)
          Handle event.
 void setCustomInfo(Map<String,String> customInfo)
          Sets the custom info.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomInfoHandler

public CustomInfoHandler()
Method Detail

handleEvent

public void handleEvent(Event event)
Description copied from interface: EventHandler
Handle event.

Specified by:
handleEvent in interface EventHandler
Parameters:
event - the event

setCustomInfo

public void setCustomInfo(Map<String,String> customInfo)
Sets the custom info.

Parameters:
customInfo - the custom info map


Copyright © 2011–2014 Talend Inc.. All rights reserved.