public class TransactionSharedObject extends BaseSharedObject
Modifier and Type | Field and Description |
---|---|
protected ISharedObjectTransactionConfig |
configuration |
protected ISharedObjectContainerTransaction |
transaction |
DESTROYREMOTE_CODE, DESTROYSELFLOCAL_CODE
Constructor and Description |
---|
TransactionSharedObject() |
TransactionSharedObject(int timeout) |
TransactionSharedObject(ISharedObjectTransactionConfig config)
Construct instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAdapter(java.lang.Class clazz) |
protected void |
initialize()
Initialize this shared object.
|
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
protected ISharedObjectContainerTransaction transaction
protected ISharedObjectTransactionConfig configuration
public TransactionSharedObject()
public TransactionSharedObject(int timeout)
public TransactionSharedObject(ISharedObjectTransactionConfig config)
config
- protected void initialize() throws SharedObjectInitException
BaseSharedObject
initialize
in class BaseSharedObject
SharedObjectInitException
- if initialization should throwpublic java.lang.Object getAdapter(java.lang.Class clazz)
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
getAdapter
in class BaseSharedObject