ch.elca.el4j.services.xmlmerge
Class XmlMergeContext

java.lang.Object
  extended by ch.elca.el4j.services.xmlmerge.XmlMergeContext

public class XmlMergeContext
extends Object

Holds thread local context information that would otherwise be difficult to pass into each part of the framework. Is intentionally designed to be extensible. CAVEAT: * Do not abuse. It could be used as general thread-local global variables * There is a potential security risk here (do not put confidential info in here)

Author:
Philipp H. Oser (POS)
File-location:
XmlMergeContext
Last check-in date:
2009-08-04 15:48:31 +0200 (Di, 04. Aug 2009) by swismer for revision 3884

Field Summary
protected static String ENTITY_RESOLVER_KEY
           
protected static ThreadLocal<Map<String,Object>> m_context
           
 
Constructor Summary
XmlMergeContext()
           
 
Method Summary
static EntityResolver getEntityResolver()
           
static void setEntityResolver(EntityResolver er)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENTITY_RESOLVER_KEY

protected static final String ENTITY_RESOLVER_KEY
See Also:
Constant Field Values

m_context

protected static final ThreadLocal<Map<String,Object>> m_context
Constructor Detail

XmlMergeContext

public XmlMergeContext()
Method Detail

getEntityResolver

public static EntityResolver getEntityResolver()

setEntityResolver

public static void setEntityResolver(EntityResolver er)


Copyright © 2005-2011 ELCA. All Rights Reserved.