org.apache.uima.aae
Class SerializerCache

java.lang.Object
  extended by org.apache.uima.aae.SerializerCache

public class SerializerCache
extends java.lang.Object


Constructor Summary
SerializerCache()
           
 
Method Summary
static UimaSerializer lookupSerializerByThreadId()
          Returns an instance of a Serializer object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializerCache

public SerializerCache()
Method Detail

lookupSerializerByThreadId

public static UimaSerializer lookupSerializerByThreadId()
Returns an instance of a Serializer object. Uses current thread id to look up the Map. If the Map does not contain an entry for current thread, a new Serializer instance is created and added to the Map for future use.

Returns:
- Serializer instance


Copyright © 2011. All Rights Reserved.