All Packages Class Hierarchy This Package Previous Next Index
BaseCollection
that implements each
Managed
object as two objects at runtime
with separate classes.
The AA produces a Cached version of the Manageable
class that contains the services-enhanced implementation of the
application-specific methods.
The AA produces a Managed
version of the
Manageable
class
that implements the Managed interface for a particular BC,
and delegates the other methods to the Cached object.
The Cached object may itself be either a single object
(the Cached class also supports the CacheEntry interface)
or two objects (a generic CacheEntry object references the
Cache object).
The AA is aided in building these by a template supplied
by the SP for that BaseCollectionDel.
Instances of the Managed and Cached classes are the
runtime objects of the BaseCollectionDel.
public abstract void kill(String key) throws InvalidReferenceException
String
Identifier
relative to the target BaseCollectionDel
that identifies which Managed
object is to be removed.
InvalidReferenceException
public abstract CacheEntry reattachManagedDel(ManagedDel managedDel, String key) throws InvalidReferenceException
ManagedDel
object
that wants to be reattached to a CacheEntry.
String
Identifier relative to the
target BaseCollectionDel that identifies which Managed
object needs to be cached.
CacheEntry
if the Cached object
could be cached, or null if it could not if for any other reason that
than that the object was removed.
InvalidReferenceException
public abstract boolean exists(String key)
String
Identifier key that
indicates which Managed object to test for.
boolean
indicating whether there exists
a Managed object with the specified key.
public abstract void syncManaged(String key)
String
Identifier key that
indicates which Managed object to sync.
All Packages Class Hierarchy This Package Previous Next Index