directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Zoerner (JIRA)" <>
Subject [jira] Commented: (DIRSERVER-825) Simplify default server.xml by using another property setting style for simple values and references
Date Sun, 14 Jan 2007 08:52:27 GMT


Stefan Zoerner commented on DIRSERVER-825:

Just a little note for those of you who don't know the Spring Framework in detail:

The bean definitions in the description above are equivalent; Spring offers the alternative
with a value attribute instead of a value element for primitive types and stings. It does
not work for more complicated things like sets and lists (like the property indexedAttributes
in partition configurations).  this shortcut does not apply for <props>.

See here for details.

Therefore this change in the server.xml does not interfere any existing configuration you
might already have. The aim of changing the default server.xml is to show new users, who are
not Spring experts, this abbreviated configuration option instead of the lengthy one.

> Simplify default server.xml by using another property setting style for simple values
and references
> ----------------------------------------------------------------------------------------------------
>                 Key: DIRSERVER-825
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>            Reporter: Stefan Zoerner
>         Assigned To: Stefan Zoerner
>            Priority: Minor
>             Fix For: 1.0.1, 1.5.0
> Currently, the bean definitions in the default server.xml from the server-installers
project seems to favor this style (example):
> ...
> <bean id="systemPartitionConfiguration" class="...">
>     <property name="name"><value>system</value></property>
>     <property name="cacheSize"><value>100</value></property>
>     <property name="suffix"><value>ou=system</value></property>
> ...
> The configurations becomes shorter if we use this style
> ...
> <bean id="systemPartitionConfiguration" class="...">
>     <property name="name" value="system" />
>     <property name="cacheSize" value="100" />
>     <property name="suffix" value="ou=system" />
> ... 
> User can easily use this style on their own, but many will simple adjust the default
to their needs. Thus it should be less verbose.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message