commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jakarta-commons Wiki] Update of "Digester/TODO" by SimonKitching
Date Wed, 11 May 2005 05:23:07 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-commons Wiki" for change notification.

The following page has been changed by SimonKitching:
http://wiki.apache.org/jakarta-commons/Digester/TODO

The comment on the change is:
Add todo for beanutilsbean-per-digester-instance suggestion

------------------------------------------------------------------------------
       See: http://www.mail-archive.com/commons-user%40jakarta.apache.org/msg10012.html
  
  == Possible ==
+ 
+ === Have BeanUtilsBean instance per Digester ===
+ Currently, in order to change the way Digester rules perform datatype conversions, it is
necessary to register custom
+ converters with the global ConvertUtilsBean, thus affecting all code in the same webapp.
+ 
+ Adding a Digester.setBeanUtilsBean(beanUtilsBean) method would allow users to control this
behaviour on a
+ per-digester-instance level. The default would be to use the global beanUtilsBean if none
is set.
+ 
+ However all Rule classes would need to be updated to get the beanUtilsBean from the digester
object instead
+ of using the static BeanUtils and ConvertUtils methods.
  
  === Refactor CallParamRule ===
  Refactor the !CallParamRule to break out the separate pieces of functionality into separate
rules. Perhaps give them a consistent naming standard, like: "CallParamWithXXXRule".
@@ -284, +294 @@

  
  Up to [:Digester]
  
- 

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


Mime
View raw message