diff options
author | Michi Henning <michi@zeroc.com> | 2009-06-04 16:19:02 +1000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2009-06-04 16:19:02 +1000 |
commit | 45a3f61401e8c6cccc841fa43a4b35f9f5a444a8 (patch) | |
tree | 2d328e013b11a6e3724256cb471f6827c94b6e7d /java/src/Ice/ThreadNotification.java | |
parent | Fixed BCC compile errors (diff) | |
download | ice-45a3f61401e8c6cccc841fa43a4b35f9f5a444a8.tar.bz2 ice-45a3f61401e8c6cccc841fa43a4b35f9f5a444a8.tar.xz ice-45a3f61401e8c6cccc841fa43a4b35f9f5a444a8.zip |
Lots of javadoc comments.
Diffstat (limited to 'java/src/Ice/ThreadNotification.java')
-rw-r--r-- | java/src/Ice/ThreadNotification.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/java/src/Ice/ThreadNotification.java b/java/src/Ice/ThreadNotification.java index 3c6868e93cc..41b687f8f14 100644 --- a/java/src/Ice/ThreadNotification.java +++ b/java/src/Ice/ThreadNotification.java @@ -9,8 +9,26 @@ package Ice; +/** + * Interface for thread notification hooks. Applications can derive + * a class tat implements the <code>start</code> and <code>stop</code> + * methods to intercept creation and destruction of threads created + * by the Ice run time. + * + * @see InitializationData + **/ public interface ThreadNotification { + /** + * The Ice run time calls <code>start</code> for each new + * thread it creates. The call is made by newly-started thread. + **/ void start(); + + /** + * The Ice run time calls <code>stop</code> before it destroys + * a thread. The call is made by thread that is about to be + * destroyed. + **/ void stop(); } |