I am thinking of rewriting the disk cache, as a service and I am thinking
about doing it this way.

1. Keep the current interfaces to the disk cache.
2. Move the implementation of the disk cache to the services directory and
implement it as a service
3. Keep the current class JetspeedDiskCache and make that class use the new
cache, but deprecate the getInstance() method.
4. Use a factory for retreiving the new cache, not a method of an
implementing class.
5. Split the local / remote functionality in two separate implementation
classes -> cleaner code
6. Not implement any mehtods as public, that are not defined in the
interface.


Any suggestions to this?


--------------------------------------------------
Gnistra

Erik Stensmo
[EMAIL PROTECTED]

Phone: +46(0)18 10 87 10
Mobile: +46(0)733 759 752

Home page: www.gnistra.se

--------------------------------------------------



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to