OK. I think I do understand the concept, but I apparently have a
different intuition
about what it means for a component to be configurable.
If a component is configurable, that tells me that there are knobs that
I can set.
But it also seems reasonable for me to look at that component and ask,
"What are your
knob settings?" You're saying that's not the responsibility of the
component. Fine,
I can live with that. If desired, the management application can keep
its own
records about past/current configuration settings.
Is that fine with everyone else?
...Greg
Michael McIntosh wrote:
I think maybe you misunderstand what a configurable component is - it is
just a component that can be configured thru the API - It is not a repo
for configuration data.
I do not think a configurable component should be responsible for caching
and providing its configuration to management applications.
I think management applications should invoke the configure method during
initialization and whenever the configuration changes.
Thanks,
Mike
higgins-dev-bounces@xxxxxxxxxxx wrote on 05/18/2007 10:18:46 AM:
Mike, you've included separate maps for global vs. component-
specific settings. I understand the motivation for this, I think,
but how far do you think this separate should be continued? For
example, it seems to me that there should be a getConfiguration
method for IConfigurableComponent, so that a management application
(for instance) can retrieve the settings and present them to a user.
Should the component therefore keep the two sets of setting
separate, and should there be separate getGlobalConfig and
getComponentConfig methods to retrieve them?
...Greg
Michael McIntosh wrote:
I checked in several projects earlier today including:
org.eclipse.higgins.configuration.api
org.eclipse.higgins.configuration.common
Thanks,
Mike
_______________________________________________
higgins-dev mailing list
higgins-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/higgins-dev
_______________________________________________
higgins-dev mailing list
higgins-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/higgins-dev
|