Leo Sutic wrote:
> I can not vote, but I say +1 for including it. Mark it up as broken, use a
> @deprecated tag or move it to a scratchpad directory or *something*. It
> provides functions for validating the lifecycle contracts and I think we
> should not throw away the code.
>
> I wrote in bugzilla that it should be renamed AbstractComponent. I did not
> mean that it should implement all lifecycle methods, but rather provide a
> "checkInitialized" method. It is not cruft - remember, the code of a class
> only has one instance in the system and it is the data that is unique to
> each instance. If there are too many methods, have a
>
> validateLifecycle (int stage) throws IllegalStateException
>
> with stage being INITIALIZE, COMPOSE, etc.:
I have something that works!
why don't you try it (the testcase is even included)?
--
"They that give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety."
- Benjamin Franklin
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>