com.ibm.notes.java.api.util
Class NotesThreadUtil

java.lang.Object
  extended by com.ibm.notes.java.api.util.NotesThreadUtil

public class NotesThreadUtil
extends Object

When running within the Notes environment, the methods within this class should be used to initialize and terminate the thread. This guarantees a correct execution environment for back-end code to run.


Method Summary
static void initThread()
          Called to make the current thread able to access Notes back-end data.
static void termThread()
          Called to complete the current thread's access Notes back-end data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

initThread

public static void initThread()
Called to make the current thread able to access Notes back-end data. Historically, callers would have called NotesThread.sinitThread() directly. This method makes that call put also correctly sets up the back-end environment.

Since:
1.5.1

termThread

public static void termThread()
Called to complete the current thread's access Notes back-end data. Historically, callers would have called NotesThread.stermThread() directly. This method makes that call put also correctly shuts down the back-end environment.

Since:
1.5.1