On Mar 20, 2009, at 2:07 AM, Radim Kolar wrote:
1. GBean Lifecycle section
what is doFail() method expected to do? Shutdown gbean and make it
sure
that calling doStart() will do nothing?
Agreed to add description of doFail(). What do you mean "calling
doStart()
will do nothing ?" ?
something like this:
doStart() -> running
doFail() -> stop and mark it as failed
doStart() -> dont start it because it is marked as failed
I think you have to call stop after fail before you call start.
Also note that after fail or stop the actual gbean object is discarded
and if you call start again the framework will create a whole new
object for you.
In practice no one has ever implemented doFail.
thanks
david jencks
--
View this message in context:
http://www.nabble.com/GBean-documentation-improvement-tp22607392s134p22616649.html
Sent from the Apache Geronimo - Users mailing list archive at
Nabble.com.