public class RmiContext extends Object
Keeps track of the current connection performing a particular RMI call. RMI-based services can use this to find out which connection is calling a particular method without having to pass additional problematic data on the method calls.
Method SummaryModifier and TypeMethodDescription
static HostedConnectionReturns the HostedConnection that is responsible for any RMI-related calls on this thread.
getRmiConnectionpublic static HostedConnection getRmiConnection()Returns the HostedConnection that is responsible for any RMI-related calls on this thread.