Class ServerControlWrapper

java.lang.Object
com.arjuna.ats.internal.jts.ControlWrapper
com.arjuna.ats.internal.jts.interposition.ServerControlWrapper
All Implemented Interfaces:
Reapable

public class ServerControlWrapper extends com.arjuna.ats.internal.jts.ControlWrapper
This class attempts to mask the local/remote control issue. We try to use local controls directly as much as possible and not register them with the ORB until the last minute. This improves performance *significantly*. At present we only do this for top-level transactions, but extending for nested transactions is straightforward. It also acts as a convenience class for ease of use. Therefore, some Coordinator and Terminator methods may be found directly on this class. Because of the way in which the implementation works, however, some of their signatures may be slightly different.
Since:
JTS 3.3.
Version:
$Id: ServerControlWrapper.java 2342 2006-03-30 13:06:17Z $
Author:
Mark Little (mark.little@arjuna.com)
  • Constructor Details

    • ServerControlWrapper

      public ServerControlWrapper(Control c)
    • ServerControlWrapper

      public ServerControlWrapper(ControlImple impl)
    • ServerControlWrapper

      public ServerControlWrapper(Control c, ControlImple impl)
    • ServerControlWrapper

      public ServerControlWrapper(Control c, Uid u)
  • Method Details