commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [betwixt] Pre-registration of multi mappings with BeanReaders
Date Wed, 24 Jan 2007 17:21:31 GMT

I try to improve performance of my application using Apache betwixt 0.8.

I'm already instantiating XMLInspector only once and only set it in my
BeanReaders. I tried to further improve this by using
XMLInspector.register() instead of calling
BeanReaders.registerMultiMapping() every time I instantiate a
BeanReader. The javadoc comment seems to suggest that this is possible.

However, just calling XMLInspector.register() doesn't seem to be enough
for BeanReaders. Looking at the code, I can see that BeanReader also
registers the classes with itself. BeanWriters are fine.

What would be proper code to pre-register multi mappings with
XMLInspector, so that a BeanReader will be happy with it?


P.S. Sorry for the long signature. Can't turn this off

Visit our website at

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message