How to set a queue/array in uvm_config_db?

hie if we use this to set , then how to get this in different component without knowing the array size ?
foreach(addr_arr[i])
uvm_config_db#(bit [14:0])::set(this, “env.e_agent*.seqr”, “addr_arr”, addr_arr[i]);