Interface ISharedObjectConfig
- All Known Implementing Classes:
SOConfig
public interface ISharedObjectConfig
Configuration information provided to ISharedObject via its enclosing
ISharedObjectContainer
- See Also:
-
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.
-
Method Details
-
getHomeContainerID
ID getHomeContainerID()Get the ID of the container that is the home of the primary copy of the ISharedObject instance.- Returns:
- the ID of the container that is the home of the primary copy of the ISharedObject instance. Will not be null.
-
getContext
ISharedObjectContext getContext()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.- Returns:
- ISharedObjectContext for the ISharedObject to use to access container and associated services. Will return null if context is no longer valid.
-
getProperties
Get properties associated with with this ISharedObject- Returns:
- Map with properties associated with this ISharedObject instance. Will not be null.