All Implemented Interfaces:
This class defines a locking policy that only allows one particular user to modify the
resource at a particular time. If any other user requests to modify the
resource, the locking policy will not allow them to do so.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public boolean canActivityModifyManagedResource(
this method indicates whether the current member of the activity is allowed to
modify the resource.
activityToken - The current activity.
lockData - The lock data of the resource.
Returns: This method returns whether the current activity can modify the resource.
public boolean isManagedResourcedLocked(
This method indicates whether the current member of the activity is allowed to
modify the resource. The member identifier used for the comparison
is the run as member identifier.
managedResourceLockData - The current lock data associated with the managed resource.
environmentLockData - The lock data representation of the environment associated with the
Returns: This method returns whether the current member associated with the managed resource lock is the
same as the member associated with the environment lock data.