@Override
	public int getResourceOwnerID(int id) throws RemoteException {
		// TODO Auto-generated method stub
//		System.out.println("rrr");
//		System.out.println(resources);
//		System.out.println(resources.get(id).toString());
//		System.out.println(resources.get(id).getLocalLockOwner());
		return resources.get(id).getLocalLockOwner();
	}