Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The CastProxy only needs to
worry about creating, saving, and deleting CastVOs, and making sure that loaded VOs are
cached in memory and removed when deleted. In a future iteration,
where editing of the Cast is enabled, the CastProxy will also handle loading of the
CastVO.
Extend AbstractProxy to
inherit persistence and indexing functionality
When the CastProxy is
registered (not in the
constructor), connect to the cast folder
Override the superclass getVoInstance method, returning a
CastVO instance created with
the XML passed into the method (necessary because the superclass
only knows ValueObject, so
when the XML is read by superclass, this method provides the
facility for creating the right ValueObject subclass)