BaseService provides a default implementation of the Service interface including
the getConfiguration() method. The returned Configuration should contain service
specific properties obtained via ServiceBroker from ResourceService. The
returned Configuration is generally a new instance, which can be modified
without side effects to other objects.

TurbineResourceService implements also the getConfiguration() method, which
returns a direct reference to its internal Configuration object maintaining
properties of all other services. This is a useful implementation especially for
subclasses extending ResourceService, but should it have a different name, like
getResourceConfiguration(), that wouldn't hide the default implementation, which
would return only the properties of ResourceService itself as specified in the
Service interface?

-- Ilkka


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

Reply via email to