Folks,
Is java.lang.Runnable a lifecycle interface? Does it imply that the
implementing component should be placed in a Thread? :
if (comp instanceof Initializable) {
((Initializable comp).initialize() {
}
if (comp instanceof Startable) {
((Startable comp).start() {
}
if (comp instanceof Runnable) {
Thread t = getThread((Runnable) comp);
t.start();
}
I ask because EOB has daemon beans that treat Runnable as a lifecycle
interface.
- Paul
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>