tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49234] JMX Descriptor Modifications
Date Mon, 23 Aug 2010 13:41:49 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49234

--- Comment #86 from chamith buddhika <chamibuddhika@gmail.com> 2010-08-23 09:41:38
EDT ---
(In reply to comment #85)


> When adding child containers, the children need to be initialized. This will
> register them with the MBeanServer so they can be configured before they are
> started. That should also make the startChild() method unnecessary.
> 

I am little bit confused here. MBean registration for the component happens
within  init(). But it is called as a part of the start() procedure. If I am
not mistaken init() consist of only part of this start procedure. So still we
may have to call the start method of the child to get the other stuff properly
executed (e.g: startInternal())? Calling start on already inited component
doesn't have any other side effects as I understood looking at the state
diagram on the Lifecycle class.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message