Class TransactionSharedObject
java.lang.Object
org.eclipse.ecf.core.sharedobject.BaseSharedObject
org.eclipse.ecf.core.sharedobject.TransactionSharedObject
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable
,IIdentifiable
,ISharedObject
Superclass for shared object classes that replicate themselves
transactionally.
-
Field Summary
Modifier and TypeFieldDescriptionprotected ISharedObjectTransactionConfig
protected ISharedObjectContainerTransaction
Fields inherited from class org.eclipse.ecf.core.sharedobject.BaseSharedObject
DESTROYREMOTE_CODE, DESTROYSELFLOCAL_CODE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAdapter
(Class clazz) protected void
Initialize this shared object.Methods inherited from class org.eclipse.ecf.core.sharedobject.BaseSharedObject
addEventProcessor, clearEventProcessors, creationCompleted, destroyRemote, destroySelf, destroySelfLocal, dispose, fireEventProcessors, getConfig, getConnectedID, getContext, getGroupMemberIDs, getHomeContainerID, getID, getLocalContainerID, getProperties, getReplicaDescription, getReplicaDescriptions, getSharedObjectMsgFromEvent, handleEvent, handleEvents, handleSharedObjectCreateResponseEvent, handleSharedObjectMsg, handleSharedObjectMsg, handleSharedObjectMsgEvent, handleUnhandledEvent, init, isConnected, isPrimary, log, log, removeEventProcessor, replicateToRemoteContainers, sendSharedObjectMsgTo, sendSharedObjectMsgToPrimary, sendSharedObjectMsgToSelf, trace, traceCatching, traceEntering, traceEntering, traceEntering, traceExiting, traceExiting
-
Field Details
-
transaction
-
configuration
-
-
Constructor Details
-
TransactionSharedObject
public TransactionSharedObject() -
TransactionSharedObject
public TransactionSharedObject(int timeout)
-
-
Method Details
-
initialize
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 classBaseSharedObject
- Throws:
SharedObjectInitException
- if initialization should throw
-
getAdapter
- Specified by:
getAdapter
in interfaceorg.eclipse.core.runtime.IAdaptable
- Overrides:
getAdapter
in classBaseSharedObject
-