Package org.eclipse.ecf.provider.generic
Class SOConfig
java.lang.Object
org.eclipse.ecf.provider.generic.SOConfig
- All Implemented Interfaces:
ISharedObjectConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SOContainerprotected SOContextprotected IDprotected booleanprotected Mapprotected ID -
Constructor Summary
Constructors -
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 voidmakeActive(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:ISharedObjectConfigGet the ID of the container that is the home of the primary copy of the ISharedObject instance.- Specified by:
getHomeContainerIDin 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:ISharedObjectConfigGet 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:
getContextin 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:ISharedObjectConfigGet properties associated with with this ISharedObject- Specified by:
getPropertiesin interfaceISharedObjectConfig- Returns:
- Map with properties associated with this ISharedObject instance. Will not be null.