Stellent
HowToComponents
JavaDoc

intradoc.common
Class ExecutionContextAdaptor

java.lang.Object
  |
  +--intradoc.common.ExecutionContextAdaptor
All Implemented Interfaces:
ExecutionContext

public class ExecutionContextAdaptor
extends java.lang.Object
implements ExecutionContext

Gives a lightweigt implementation of the ExecutionContext interface.


Field Summary
protected  java.util.Hashtable m_cachedData
          Holds cached objects.
protected  java.lang.Object m_controllingObject
          Controlling object.
protected  IdcDateFormat m_dateFormat
           
protected  java.lang.String m_languageId
           
protected  IdcLocale m_locale
           
protected  java.lang.String m_pageEncoding
           
protected  ExecutionContext m_parentCxt
          Parent ExcecutionContext object.
protected  java.lang.Object m_taskRetVal
          Return value for a filter.
protected  IdcTimeZone m_timeZone
           
 
Constructor Summary
ExecutionContextAdaptor()
          Default Constructor
 
Method Summary
 java.lang.Object getCachedObject(java.lang.String id)
           
 java.lang.Object getControllingObject()
           
 java.lang.Object getLocaleResource(int id)
           
 java.lang.Object getReturnValue()
           
 void setCachedObject(java.lang.String id, java.lang.Object obj)
           
 void setControllingObject(java.lang.Object obj)
           
 void setParentContext(ExecutionContext cxt)
           
 void setReturnValue(java.lang.Object str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_parentCxt

protected ExecutionContext m_parentCxt
Parent ExcecutionContext object. Usually this value is null.


m_controllingObject

protected java.lang.Object m_controllingObject
Controlling object. This value can be set if there is no parent context.


m_cachedData

protected java.util.Hashtable m_cachedData
Holds cached objects.


m_taskRetVal

protected java.lang.Object m_taskRetVal
Return value for a filter.


m_locale

protected IdcLocale m_locale

m_languageId

protected java.lang.String m_languageId

m_pageEncoding

protected java.lang.String m_pageEncoding

m_dateFormat

protected IdcDateFormat m_dateFormat

m_timeZone

protected IdcTimeZone m_timeZone
Constructor Detail

ExecutionContextAdaptor

public ExecutionContextAdaptor()
Default Constructor

Method Detail

setParentContext

public void setParentContext(ExecutionContext cxt)

setControllingObject

public void setControllingObject(java.lang.Object obj)

getControllingObject

public java.lang.Object getControllingObject()
Specified by:
getControllingObject in interface ExecutionContext

getCachedObject

public java.lang.Object getCachedObject(java.lang.String id)
Specified by:
getCachedObject in interface ExecutionContext

setCachedObject

public void setCachedObject(java.lang.String id,
                            java.lang.Object obj)
Specified by:
setCachedObject in interface ExecutionContext

getReturnValue

public java.lang.Object getReturnValue()
Specified by:
getReturnValue in interface ExecutionContext

setReturnValue

public void setReturnValue(java.lang.Object str)
Specified by:
setReturnValue in interface ExecutionContext

getLocaleResource

public java.lang.Object getLocaleResource(int id)
Specified by:
getLocaleResource in interface ExecutionContext


(c) 1996-2005  All rights reserved.  Stellent, Inc.