This class tracks the uses of Proxies and ProxyTypes for a particular session; types are only transmitted if not previously sent (in that session), and a mapping between server and client instances/proxies is maintained. This corresponds to a ProxyTracker on the client which can do the reverse of everything done here. NOTE about sessions: ProxyTracker tracks objects and types delivered for the current instance of an application's session on the client; note that if the user refreshes the page the application reloads and starts a new session but the HTTP session maintained by the servlet container does not reset. You'll probably keep an instance of ProxyTracker in the HttpSession for the application, which means that when the application restarts it has to tell the server to clear down and start again; when this happens, the method resetSession() is called, the state is lost, and the ProxyTracker instance is reused. If you want more control over session resets you can override resetSession(); if you want control over how the bootstrap object is created you can override createBootstrap().
@author John Spackman
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.