Class OptimisticSharedObject
- java.lang.Object
- 
- org.eclipse.ecf.core.sharedobject.BaseSharedObject
- 
- org.eclipse.ecf.core.sharedobject.OptimisticSharedObject
 
 
- 
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable,- IIdentifiable,- ISharedObject
 - Direct Known Subclasses:
- SharedModel
 
 public class OptimisticSharedObject extends BaseSharedObject Superclass for shared object classes that replicate themselves optimistically. May be subclassed as desired.- See Also:
- BaseSharedObject
 
- 
- 
Field Summary- 
Fields inherited from class org.eclipse.ecf.core.sharedobject.BaseSharedObjectDESTROYREMOTE_CODE, DESTROYSELFLOCAL_CODE
 
- 
 - 
Constructor SummaryConstructors Constructor Description OptimisticSharedObject()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinitialize()Initialize this shared object.- 
Methods inherited from class org.eclipse.ecf.core.sharedobject.BaseSharedObjectaddEventProcessor, clearEventProcessors, creationCompleted, destroyRemote, destroySelf, destroySelfLocal, dispose, fireEventProcessors, getAdapter, 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
 
- 
 
- 
- 
- 
Method Detail- 
initializeprotected void initialize() throws SharedObjectInitExceptionDescription copied from class:BaseSharedObjectInitialize 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:
- initializein class- BaseSharedObject
- Throws:
- SharedObjectInitException- if initialization should throw
 
 
- 
 
-