commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodrigo Moro <>
Subject [chain][PATCH] Flexible config
Date Thu, 28 Apr 2005 20:38:29 GMT
Hi guys,

I missed more flexibility for the chain config, so I modified the
ConfigRuleSet class to allow defining a default command class name,
similar to what was did for the chain. You can see the result on the
attached diff.

I wanted to keep my code decoupled of the Command interface, so I
implemented an adapter from Command to my code. However, it's boring to
have to set the adapter class name for each command tag on the XML
config file.

Thus, the simple modification I introduced solves the problem, because
my specific subclass of ConfigRuleSet can set the adapter class as the
default command class.


View raw message