https://issues.apache.org/bugzilla/show_bug.cgi?id=50738

--- Comment #6 from Martin Grotzke <martin.grot...@googlemail.com> 2011-02-09 
04:40:28 EST ---
I just overwrote destroyInternal and debugged/logged, but it seems to be not
called for me, neither on context reload nor during stop (CTRL-C).

Anyway, so I'll move initialization to startInternal.

One suggestion though: please change the javadoc of
LifecycleMBeanBase.initInternal()
which is inherited/seen by subclasses so that it makes clear that initInternal
is only invoked for initial start, but not during a reload. The current
documentation (of LifecycleMBeanBase.initInternal) is not clear about this:

    /**
     * Sub-classes wishing to perform additional initialization should override
     * this method, ensuring that super.initInternal() is the first call in the
     * overriding method.
     */

-- 
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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to