EclipseLink1.0 - 20080707 API Reference

org.eclipse.persistence.sdo.helper.delegates
Class AbstractHelperDelegator

java.lang.Object
  extended by 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
           
 
Constructor Summary
AbstractHelperDelegator()
           
 
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
 

Field Detail

aHelperContext

protected commonj.sdo.helper.HelperContext aHelperContext
Constructor Detail

AbstractHelperDelegator

public AbstractHelperDelegator()
Method Detail

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

EclipseLink1.0 - 20080707 API Reference