Package org.eclipse.ecf.provider.generic
Class SOConfig
java.lang.Object
org.eclipse.ecf.provider.generic.SOConfig
- All Implemented Interfaces:
ISharedObjectConfig
-
Field Summary
Modifier and TypeFieldDescriptionprotected SOContainer
protected SOContext
protected ID
protected boolean
protected Map
protected ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the ISharedObjectContext instance for this ISharedObject.Get the ID of the container that is the home of the primary copy of the ISharedObject instance.Get properties associated with with this ISharedObjectGet the ID associated with this ISharedObject by its container.protected void
makeActive
(IQueueEnqueue queue) protected void
-
Field Details
-
container
-
homeContainerID
-
isActive
protected boolean isActive -
properties
-
context
-
-
Constructor Details
-
SOConfig
-
-
Method Details
-
makeInactive
protected void makeInactive() -
getHomeContainerID
Description copied from interface:ISharedObjectConfig
Get the ID of the container that is the home of the primary copy of the ISharedObject instance.- Specified by:
getHomeContainerID
in interfaceISharedObjectConfig
- Returns:
- the ID of the container that is the home of the primary copy of the ISharedObject instance. Will not be null.
-
getContext
Description copied from interface:ISharedObjectConfig
Get the ISharedObjectContext instance for this ISharedObject. The ISharedObjectContext provides access to container-provided services, including messaging to remote containers and to remote replicas of the ISharedObject, as well as access to OSGI-platform services.- Specified by:
getContext
in interfaceISharedObjectConfig
- Returns:
- ISharedObjectContext for the ISharedObject to use to access container and associated services. Will return null if context is no longer valid.
-
getProperties
Description copied from interface:ISharedObjectConfig
Get properties associated with with this ISharedObject- Specified by:
getProperties
in interfaceISharedObjectConfig
- Returns:
- Map with properties associated with this ISharedObject instance. Will not be null.