wt.fc.cache
Class ObjectReferenceCacheFwd
java.lang.Object
wt.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVER
static final boolean SERVER
FC_RESOURCE
private static final String FC_RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
ObjectReferenceCacheFwd
public ObjectReferenceCacheFwd()
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