Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. All Spring bean names must start with "wink".
  2. Do not use dots in the bean names, since it may effect some spring functionality (e.g. util:property-path cannot be used with dots)
  3. Add "internal" to the bean names that should not be used by the user.
  4. When using PropertyPlaceholderConfigurer use the following guidelines:
    1. The order property should be set between 1 and Integer.MAX_VALUE. I would suggest setting it somewhere around Integer.MAX_VALUE/2 to ensure that anyone can insert a PropertyPlaceholderConfigurer both before and after yours.
    2. Set ignoreUnresolvablePlaceholders to true, to ensure that Wink won't fail because of others placeholders.
    3. Create a unit test, which will hold a validating PropertyPlaceholderConfigurer (ignoreUnresolvablePlaceholders=false) to ensure that none forgets to resolve a placeholder.
    4. All properties must start with "wink".

...