tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Problem back-porting r1298479
Date Wed, 25 Apr 2012 20:43:14 GMT
All,

I'm trying to back-port r1298479 (and several other clean-up patches) to
tc6.0.x but there seems to be some impedence in RealmBase.

In 7.0.x and trunk, RealmBase implements LifecycleMBeanBase which has an
"initInternal" method while in 6.0.x, RealmBase has no superclass (well,
java.lang.Object) and thus no method.

Where is the best place to put something that "goes into" initInternal?

It looks like RealmBase in 6.0.x implements Lifecycle's interface
manually and there *is* an init() method called from Lifecycle.start().
That seems to be to be the natural place to put this in the absence of
the initInternal method being available.

Any comments?

Thanks,
-chris


Mime
View raw message