public interface ISharedObjectPolicy extends IContainerPolicy
Modifier and Type | Method and Description |
---|---|
java.security.PermissionCollection |
checkAddSharedObject(ID fromID,
ID toID,
ID localID,
ReplicaSharedObjectDescription newObjectDescription)
Check the request to add a shared object from external source (i.e.
|
refresh
java.security.PermissionCollection checkAddSharedObject(ID fromID, ID toID, ID localID, ReplicaSharedObjectDescription newObjectDescription) throws java.lang.SecurityException
fromID
- the ID of the container making the container add requesttoID
- the ID of the container receiving/handling the add request.
Null if directed to all containers in group.localID
- the ID of the local containernewObjectDescription
- the ReplicaSharedObjectDescription associated with the shared
object being addedjava.lang.SecurityException
- if request should be refused and associated container
should leave group