wt.fc.cache
Class ObjectReferenceCacheFwd

java.lang.Object
  extended bywt.fc.cache.ObjectReferenceCacheFwd
All Implemented Interfaces:
ObjectReferenceCache, RemoteAccess, Serializable

public class ObjectReferenceCacheFwd
extends Object
implements RemoteAccess, ObjectReferenceCache, Serializable

ObjectReferenceCache defines the remotely invokeable method for the StandardObjCacheService.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String FC_RESOURCE
           
(package private) static boolean SERVER
           
 
Fields inherited from interface wt.method.RemoteAccess
versionID
 
Constructor Summary
ObjectReferenceCacheFwd()
           
 
Method Summary
private static Manager getManager()
           
 Persistable getObject(CachedObjectReference objRef)
          getObject will return a clone of the cached object from the Cache Service after checking access control.
 Persistable getReadOnlyObject(CachedObjectReference objRef)
          when Invoked on the server side getReadOnlyObject will return a reference to tha actual cached object.
 CachedObjectReference inflate(CachedObjectReference objRef)
          method used to inflate Cached Object References for client side attribute display and access.
 void showCacheState()
          method called by the ShowCacheState class, used primarily for debugging purposes, show the current caches contents.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVER

static final boolean SERVER

FC_RESOURCE

private static final String FC_RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

ObjectReferenceCacheFwd

public ObjectReferenceCacheFwd()
Method Detail

getManager

private static Manager getManager()
                           throws WTException
Returns:
Manager
Throws:
WTException

getObject

public Persistable getObject(CachedObjectReference objRef)
                      throws WTException
getObject will return a clone of the cached object from the Cache Service after checking access control.

Supported API: false

Specified by:
getObject in interface ObjectReferenceCache
Parameters:
objRef -
Returns:
Persistable
Throws:
WTException

getReadOnlyObject

public Persistable getReadOnlyObject(CachedObjectReference objRef)
                              throws WTException
when Invoked on the server side getReadOnlyObject will return a reference to tha actual cached object. I should NOT be modified as it will contaminate the cache. this method also enforce access contorl.

Supported API: false

Specified by:
getReadOnlyObject in interface ObjectReferenceCache
Parameters:
objRef -
Returns:
Persistable
Throws:
WTException

inflate

public CachedObjectReference inflate(CachedObjectReference objRef)
                              throws WTException
method used to inflate Cached Object References for client side attribute display and access.

Supported API: false

Specified by:
inflate in interface ObjectReferenceCache
Parameters:
objRef -
Returns:
CachedObjectReference
Throws:
WTException

showCacheState

public void showCacheState()
                    throws WTException
method called by the ShowCacheState class, used primarily for debugging purposes, show the current caches contents.

Supported API: false

Specified by:
showCacheState in interface ObjectReferenceCache
Throws:
WTException