Given a token representing a context, associate it with the current thread of control. This will implicitly disassociate the thread from any activities that it may already be associated with. If the parameter is null then the thread is associated with no activity.
@param tx The activity to associate with this thread. Thismay be null in which case the current thread becomes associated with no activity.
@exception InvalidActivityException Thrown if the activity handleis invalid in this context.
@exception SystemException Thrown if any other error occurs.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.