org.eclipse.persistence.sdo.helper
Class SDOHelperContext
java.lang.Object
org.eclipse.persistence.sdo.helper.SDOHelperContext
public class SDOHelperContext
- extends java.lang.Object
Constructor Summary |
SDOHelperContext()
The default constructor will use the current thread's context
class loader. |
SDOHelperContext(java.lang.ClassLoader aClassLoader)
This constructor creates the helper instances. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyHelper
protected CopyHelper copyHelper
dataFactory
protected DataFactory dataFactory
dataHelper
protected DataHelper dataHelper
equalityHelper
protected EqualityHelper equalityHelper
xmlHelper
protected XMLHelper xmlHelper
typeHelper
protected TypeHelper typeHelper
xsdHelper
protected XSDHelper xsdHelper
SDOHelperContext
public SDOHelperContext()
- The default constructor will use the current thread's context
class loader.
SDOHelperContext
public SDOHelperContext(java.lang.ClassLoader aClassLoader)
- This constructor creates the helper instances.
- Parameters:
aClassLoader
-
initialize
protected void initialize(java.lang.ClassLoader aClassLoader)
reset
public void reset()
- Reset the Type,XML and XSD helper instances.
getCopyHelper
public CopyHelper getCopyHelper()
getDataFactory
public DataFactory getDataFactory()
getDataHelper
public DataHelper getDataHelper()
getEqualityHelper
public EqualityHelper getEqualityHelper()
getTypeHelper
public TypeHelper getTypeHelper()
getXMLHelper
public XMLHelper getXMLHelper()
getXSDHelper
public XSDHelper getXSDHelper()
createResolvable
public ExternalizableDelegator.Resolvable createResolvable()
createResolvable
public ExternalizableDelegator.Resolvable createResolvable(java.lang.Object target)
getHelperContext
public static HelperContext getHelperContext()
- INTERNAL:
Return the helper context for a given key. The key will either
be a ClassLoader or a String (representing an application name).
A new context will be created and put in the map if none exists
for the given key.
The key is assumed to be non-null - getDelegateKey should always
return either a string representing the application name (for WLS)
or a class loader. This is relevant since 'putIfAbsent' will
throw a null pointer exception if the key is null.