Please Visit: http://ift.tt/1ajReyV
from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1mNYIzY
via LifeLong Community
Detecting process exit in Java | adrian's blog
It would be very nice if the (Link->http://ift.tt/1mNYGbs) class would implement the Observable design pattern in some way. But it doesn’t and on this we will base our workaround creation.
Process contains a useful method for us, (Link->http://ift.tt/WRWHhh) , that pauses the current thread execution until the given subprocess is finished. So, we will create a thread that will be suspended until the given subprocess is finished. Then we will fire the listeners to notify that the process has finished its execution.
http://ift.tt/1cUG87x
http://ift.tt/1mNYIzW
It would be very nice if the (Link->http://ift.tt/1mNYGbs) class would implement the Observable design pattern in some way. But it doesn’t and on this we will base our workaround creation.
Process contains a useful method for us, (Link->http://ift.tt/WRWHhh) , that pauses the current thread execution until the given subprocess is finished. So, we will create a thread that will be suspended until the given subprocess is finished. Then we will fire the listeners to notify that the process has finished its execution.
http://ift.tt/1cUG87x
http://ift.tt/1mNYIzW
from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1mNYIzY
via LifeLong Community
No comments:
Post a Comment