oracle.apps.fnd.wf.common
Class WorkflowResourceStore

java.lang.Object
  |
  +--oracle.apps.fnd.wf.common.WorkflowResourceStore
All Implemented Interfaces:
oracle.apps.fnd.common.ResourceStore

public class WorkflowResourceStore
extends java.lang.Object
implements oracle.apps.fnd.common.ResourceStore

ResourceStore will be associated with an instance of WorkflowContext. ResourceStore manages a static cache for the resources (striped by type, name, NLSLang, databaseId) from the database. The cache will not get invalidated automatically, hence, it is not possible to see newer values unless the JVM is bounced.


Field Summary
static java.lang.String RCS_ID
           
static boolean RCS_ID_RECORDED
           
 
Method Summary
 oracle.apps.fnd.common.ResObject getResource(java.lang.String appName, java.lang.String resName)
          Returns resouce object for a given application, and resource name Internally, this call uses appName+"TKN" as resource type, together with resource name, nlslang of current JDBC connection to retrieve resouce object.
 int getResourceID(java.lang.String appName, java.lang.String resName)
           
 java.lang.String getResourceText(java.lang.String appName, java.lang.String resName)
           
 void loadResource(java.lang.String appName, java.lang.String resName)
           
 void loadResources(oracle.apps.fnd.common.Resource[] resources)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RCS_ID

public static final java.lang.String RCS_ID

RCS_ID_RECORDED

public static final boolean RCS_ID_RECORDED
Method Detail

getResource

public oracle.apps.fnd.common.ResObject getResource(java.lang.String appName,
                                                    java.lang.String resName)
Returns resouce object for a given application, and resource name Internally, this call uses appName+"TKN" as resource type, together with resource name, nlslang of current JDBC connection to retrieve resouce object.
Specified by:
getResource in interface oracle.apps.fnd.common.ResourceStore
Parameters:
appName - Application Name from which the resouce will be obtained.
resName - name of the resource
Returns:
return-value

getResourceText

public java.lang.String getResourceText(java.lang.String appName,
                                        java.lang.String resName)
Specified by:
getResourceText in interface oracle.apps.fnd.common.ResourceStore

getResourceID

public int getResourceID(java.lang.String appName,
                         java.lang.String resName)
Specified by:
getResourceID in interface oracle.apps.fnd.common.ResourceStore

loadResource

public void loadResource(java.lang.String appName,
                         java.lang.String resName)
Specified by:
loadResource in interface oracle.apps.fnd.common.ResourceStore

loadResources

public void loadResources(oracle.apps.fnd.common.Resource[] resources)
Specified by:
loadResources in interface oracle.apps.fnd.common.ResourceStore