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.
    • Constructor Detail

      • 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.
        Parameters:
        config -
    • Method Detail

      • 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.
        Overrides:
        initialize in class BaseSharedObject
        Throws:
        SharedObjectInitException - if initialization should throw