Interface ISharedObject
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable
- All Known Implementing Classes:
BaseSharedObject,DistributedEventAdmin,OptimisticSharedObject,RegistrySharedObject,SharedModel,TransactionSharedObject
public interface ISharedObject
extends org.eclipse.core.runtime.IAdaptable
Core interface for implementing components that exist within
ISharedObjectContainer-
Method Summary
Modifier and TypeMethodDescriptionvoidMethod called by the ISharedObjectContainer upon ISharedObject destruction.voidhandleEvent(Event event) Handle Event passed to this IEventHandler.voidhandleEvents(Event[] events) Handle Events passed to this IEventHandler.voidinit(ISharedObjectConfig initData) Initialize this ISharedObject.Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
Method Details
-
handleEvent
Handle Event passed to this IEventHandler.- Parameters:
event- the Event for the implementer to handle
-
handleEvents
Handle Events passed to this IEventHandler.- Parameters:
events- the Events [] for the implementer to handle
-
dispose
Method called by the ISharedObjectContainer upon ISharedObject destruction. Once this method is called, no more Events will be passed to a ISharedObject until the init method is called again.- Parameters:
containerID- the ID of the container that is disposing this ISharedObject