Issue Details (XML | Word | Printable)

Key: SWINGX_WS-11
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: swingx-ws-issues
Reporter: odoremieux
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
swingx-ws

DefaultTileFactory & TileCache flexibility

Created: 15/Feb/08 07:49 AM   Updated: 02/Dec/09 02:05 PM
Component/s: www
Affects Version/s: initial
Fix Version/s: 1.1

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: All


Issuezilla Id: 11
Tags:
Participants: odoremieux, rah003 and swingx-ws-issues


 Description  « Hide

It would be nice to be able to use our own cache version in DefaultTileFactory.
DefaultTileFactory has a setTileCache, which is a good start.
We could extends from TileCache, but it has no accessors and the variables are
private so basically we have to redo the whole thing.

A default behaviour is great, but it would be nice to be able to overwrite some
methods.

In my case, I have the same APIs as in TileCache and I think it's a good start.
addToImageCache(final URI uri, final BufferedImage img)
get(URI uri)
put(URI uri, byte[] bimg, BufferedImage img)



rah003 added a comment - 02/Dec/09 02:05 PM

Bumped to the next version.