About the question, I also searched the source and [1],
The best way should use RunLevelListener, however, RunLevelListener does
not off an api for task completed.
[1]:
https://hk2.java.net/2.2.0-b26/runlevel.html
Thanks
Tang
Tang Yong wrote:
> Hi JWells, Mason,
>
> I have an urgent question about RunLevelControllerThread,
>
> While using the following way to move to the given run level,
>
> RunLevelController.proceedTo(runLevel)
>
> I want to know whether having any way to know when the
> RunLevelControllerThread has been ended?
>
> Thanks
> Tang
>
--
−−−−−−−−−−−−−−−−−−−−−−
Tang Yong
Senior Engineer
GlassFish Committer (OSGi & OSGi-JavaEE)
OSGi Alliance Supporter
Blog: http://osgizone.typepad.com/tangyong/
Nanjing Fujitsu NanDa Software Tec CO.,LTD
http://www.fujitsu.com/cn/fnst
Tel: +86-25-86630566-8310
Fax: +86-25-83317685
−−−−−−−−−−−−−−−−−−−−−−