org.talend.esb.sam.agent.message
Class CustomInfo

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,String>
          extended by org.talend.esb.sam.agent.message.CustomInfo
All Implemented Interfaces:
Serializable, Cloneable, Map<String,String>

public class CustomInfo
extends HashMap<String,String>

Customer interceptors should store the data that should go into the monitoring event in this map. All key/value pairs will be automatically copied to the customInfo map of the Event

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
CustomInfo()
           
 
Method Summary
static CustomInfo getOrCreateCustomInfo(org.apache.cxf.message.Message message)
          Access the customInfo of a message using this accessor.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

CustomInfo

public CustomInfo()
Method Detail

getOrCreateCustomInfo

public static CustomInfo getOrCreateCustomInfo(org.apache.cxf.message.Message message)
Access the customInfo of a message using this accessor. The CustomInfo map will be automatically created and stored in the event if it is not yet present

Parameters:
message -
Returns:


Copyright © 2011 Talend Inc.. All Rights Reserved.