Object persist(); void unPersist(Object persistedForm);
Phoenix, on shutdown, could persist the block. If built-in, the unPersist method would come just before initialize() in terms of lifecycle;
As a slight alternative, it could be a Cornerstone interface and a separate block (with defautl impl). That block could, on stop(), invoke the persist() method it it's dependancy. It could similarly invoke unPersist for on start(). That default block could take a number of configurations, including one that had a cron based automatic persistence scheme.
Thoughts?
- Paul
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>