If Resource is an IResourceListener shouldn't it be named
ResourceListener?

Maurice

-----Oorspronkelijk bericht-----
Van: Johan Compagner 
Verzonden: woensdag 30 maart 2005 13:07
Aan: Wicket Developer List
Onderwerp: [Wicket-develop] IResource, Resource, AbstractResource...
Very confusing!

Hi,

I find the resources classes we have here in wicket very confusing..
Because we have a IResource interface. and a AbstractResource class 
which implement the interface
But we also have an abstract class Resource but that isn't a IResource 
but a IResourceListener.

This is a bit confusing naming.
I think the Resource class that has a method getResource() (that returns

a IResource) is a ResourceLocator
So i think that the Resource class should be renamed to ResourceLocator 
and all subclasses like WebResource
and SharedResource should also be called: WebResourceLocator and 
SharedResourceLocator..

The problem is that we already have a ResourceLocator class... that also

returns IResource objects..
So maybe Resource->ResourceHolder?

johan



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to