hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Offiah Raymond, Slough" <Raymond.Off...@aniteps.com>
Subject RE: Problems with configuration map
Date Wed, 25 May 2005 12:21:57 GMT
Thanks. .. :-)

I have the wrong Jar file, amongst other things ... :-)


-----Original Message-----
From: Knut Wannheden [mailto:knut.wannheden@gmail.com] 
Sent: 25 May 2005 11:53
To: hivemind-user@jakarta.apache.org
Subject: Re: Problems with configuration map

Raymond,

The "key-attribute" attribute requires HiveMind 1.1. That being said I
have a few other comments:

 - IDs are case sensitive. In your <set-configuration> element you
should use "Configuration" as the value for the "configuration-id"
attribute.

 - The contribution elements to your configuration will be simple
String instances. You could use a translator to instruct HiveMind to
create some kind of corresponding Java objects (e.g. Class instances).
As you seem to be using the same configuration for different "kinds"
of configuration data you could use the "object" translator along with
various object providers. As a further possibility the <schema> can
also define multiple top-level <element> elements, all with their own
set of attributes and conversion rules. They will all have to define a
"key-attribute" if you want to use the configuration as a Map.

Regards,

--knut

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org


Scanned for viruses by MessageLabs


Scanned for viruses by MessageLabs. The integrity and security of this message cannot be guaranteed.
This email is intended for the named recipient only, and may contain confidential information
and proprietary material. Any unauthorised use or disclosure is prohibited.
Mime
View raw message