org.eclipse.persistence.sdo.helper.delegates
Class AbstractHelperDelegator
java.lang.Object
org.eclipse.persistence.sdo.helper.delegates.AbstractHelperDelegator
- Direct Known Subclasses:
- SDOTypeHelperDelegator, SDOXMLHelperDelegator, SDOXSDHelperDelegator
public abstract class AbstractHelperDelegator
- extends java.lang.Object
Abstract class for SDO helper delegators.
Field Summary |
protected commonj.sdo.helper.HelperContext |
aHelperContext
|
Method Summary |
protected java.lang.ClassLoader |
getContextClassLoader()
INTERNAL:
This method returns the application ClassLoader. |
commonj.sdo.helper.HelperContext |
getHelperContext()
Return the helperContext that this instance is associated with. |
void |
setHelperContext(commonj.sdo.helper.HelperContext helperContext)
INTERNAL:
Set the helperContext that this instance is associated with. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
aHelperContext
protected commonj.sdo.helper.HelperContext aHelperContext
AbstractHelperDelegator
public AbstractHelperDelegator()
getContextClassLoader
protected java.lang.ClassLoader getContextClassLoader()
- INTERNAL:
This method returns the application ClassLoader.
The parent application ClassLoader is returned when running in a J2EE client
either in a web or ejb container to match a weak reference to a particular
HelperContext.
getHelperContext
public commonj.sdo.helper.HelperContext getHelperContext()
- Return the helperContext that this instance is associated with.
This context contains all helpers. If null, the default context
is returned.
- Returns:
- set helper context or, if null, the default context
- See Also:
HelperContext
,
HelperProvider
setHelperContext
public void setHelperContext(commonj.sdo.helper.HelperContext helperContext)
- INTERNAL:
Set the helperContext that this instance is associated with. This context
will contain all helpers, so inter-helper relationships are preserved.
- Parameters:
helperContext
- - See Also:
HelperContext