public class SOConfig extends java.lang.Object implements ISharedObjectConfig
Modifier and Type | Field and Description |
---|---|
protected SOContainer |
container |
protected SOContext |
context |
protected ID |
homeContainerID |
protected boolean |
isActive |
protected java.util.Map |
properties |
protected ID |
sharedObjectID |
Constructor and Description |
---|
SOConfig(ID sharedObjectID,
ID homeContainerID,
SOContainer cont,
java.util.Map dict) |
Modifier and Type | Method and Description |
---|---|
ISharedObjectContext |
getContext()
Get the ISharedObjectContext instance for this ISharedObject.
|
ID |
getHomeContainerID()
Get the ID of the container that is the home of the primary copy of the
ISharedObject instance.
|
java.util.Map |
getProperties()
Get properties associated with with this ISharedObject
|
ID |
getSharedObjectID()
Get the ID associated with this ISharedObject by its container.
|
protected void |
makeActive(IQueueEnqueue queue) |
protected void |
makeInactive() |
protected SOContainer container
protected ID sharedObjectID
protected ID homeContainerID
protected boolean isActive
protected java.util.Map properties
protected SOContext context
public SOConfig(ID sharedObjectID, ID homeContainerID, SOContainer cont, java.util.Map dict)
protected void makeActive(IQueueEnqueue queue)
protected void makeInactive()
public ID getSharedObjectID()
ISharedObjectConfig
getSharedObjectID
in interface ISharedObjectConfig
public ID getHomeContainerID()
ISharedObjectConfig
getHomeContainerID
in interface ISharedObjectConfig
public ISharedObjectContext getContext()
ISharedObjectConfig
getContext
in interface ISharedObjectConfig
public java.util.Map getProperties()
ISharedObjectConfig
getProperties
in interface ISharedObjectConfig