On Tue, 22 Jan 2002 22:15, [EMAIL PROTECTED] wrote:
> donaldp 02/01/22 03:15:25
>
> Modified:
> proposal/myrmidon/src/java/org/apache/myrmidon/components/configurer
> DefaultConfigurer.java DefaultObjectConfigurer.java
> DefaultPropertyConfigurer.java
> ObjectConfigurer.java PropertyConfigurer.java
> Resources.properties
> Added:
> proposal/myrmidon/src/java/org/apache/myrmidon/components/configurer
> ConfigurationState.java
> DefaultConfigurationState.java
> NoSuchPropertyException.java
Submitted By: "Adam Murdoch" <[EMAIL PROTECTED]>
of course ;)
> Log:
> This patch adds bunch of minor features to the configurer:
>
> * Added max multiplicity checking. Properties with a setter method can
> only be set once, whereas properties with an adder method can be set an
> unlimited number of times.
>
> * Resolves properties in reference ids. e.g
>
> <javac classpath-ref="${my-classpath-id-name}"/>
>
> * Ignores String adder and setter methods, if other methods exist.
> Longer term, the type should be able to specify exactly which method to
> use.
>
> * Moved all per-object state behind the ConfigurationState interface.
> The ObjectConfigurer is now responsible for state-based validation.
>
> * Tidied-up error messages. More context info is available in error
> messages, to make figuring out the problem easier. Error messages still
> need work.
--
Cheers,
Pete
---------------------------------------------------------
Clarke's Third Law: "Any technology distinguishable from
magic is insufficiently advanced".
---------------------------------------------------------
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>