public static Boolean isLockGrantor(String serviceName){
  DLockService service=(DLockService)DistributedLockService.getServiceNamed(serviceName);
  assertNotNull(service);
  Boolean result=Boolean.valueOf(service.isLockGrantor());
  logInfo("In isLockGrantor: " + result);
  return result;
}

public static Boolean isLockGrantor ( String serviceName ) { DLockService service = ( DLockService ) DistributedLockService . getServiceNamed ( serviceName ) ; assertNotNull ( service ) ; Boolean result = Boolean . valueOf ( service . isLockGrantor ( ) ) ; logInfo ( "In isLockGrantor: " + result ) ; return result ; }
accessed via reflection . do not remove .
