Jon Stevens wrote:
>
> on 1/30/01 9:20 AM, "Magnús Þór Torfason" <[EMAIL PROTECTED]> wrote:
>
> > Sorry if this exposes my out-of-dated-ness, but where did
> > TurbineResources.getConfig() go, and why?
> >
> > (I may still send other posts, wow how much has changed in four weeks).
>
> Ok, I added it back, however, it isn't as clean of an API because now
> ResourceService has to import Configurations. We should discuss this...
>
> You have access to the object through TurbineResourceService, but not
> TurbineResources...therefore, I would like to see it in the API, but i'm
> worried Rafal will yell at me. :-)
>
ResourceService.getResource() is functionally equivalent to getConfig() and
provides a similar access API (the main difference being there's no
getRepository() call).
On the other hand it breaks the singleton pattern of the service framework.
--
Raphaël Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Services Manager / Paris
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]