Class TransactionSharedObject

All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, IIdentifiable, ISharedObject

public class TransactionSharedObject extends BaseSharedObject
Superclass for shared object classes that replicate themselves transactionally.
  • Field Details

  • Constructor Details

    • TransactionSharedObject

      public TransactionSharedObject()
    • TransactionSharedObject

      public TransactionSharedObject(int timeout)
    • TransactionSharedObject

      public TransactionSharedObject(ISharedObjectTransactionConfig config)
      Construct instance. The config parameter, if given, is used to configure the transactional replication of instances or subclass instances. If the config parameter is null, no replication messaging will occur and only host instance of object will be created.
      config -
  • Method Details

    • initialize

      protected void initialize() throws SharedObjectInitException
      Description copied from class: BaseSharedObject
      Initialize this shared object. Subclasses may override as appropriate to define custom initialization behavior. If initialization should fail, then a SharedObjectInitException should be thrown by implementing code. Also, subclasses overriding this method should call super.initialize() before running their own code.
      initialize in class BaseSharedObject
      SharedObjectInitException - if initialization should throw
    • getAdapter

      public Object getAdapter(Class clazz)
      Specified by:
      getAdapter in interface org.eclipse.core.runtime.IAdaptable
      getAdapter in class BaseSharedObject