I was trying to use the ComponentStateValidator with a Component which was both Configurable and Composable and found a problem. The Validator expects the configure method to be called before the conpose method, which is incorrect.
Here is the diff for the fix I made: cvs -z3 diff ComponentStateValidator.java (in directory E:\Jakarta\jakarta-avalon-excalibur\src\scratchpad\org\apache\avalon\excalibur\util\) Index: ComponentStateValidator.java =================================================================== RCS file: /home/cvspublic/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/util/ComponentStateValidator.java,v retrieving revision 1.5 diff -r1.5 ComponentStateValidator.java 49,50c49,50 < private static final long CONFIGURED = 0x00000008; < private static final long COMPOSED = 0x00000010; --- > private static final long COMPOSED = 0x00000008; > private static final long CONFIGURED = 0x00000010; Cheers, Leif -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
