Passing interface directly to driver in UVM?

In reply to chr_sue:

I use config object to send interface to driver . That is by giving interface to interface instance inside config object and then use it to get in driver .

		in test 

if(!uvm_config_db #(virtual ram_if)::get(this,“”,“vif”,wcfg.vif));
uvn_config_db #(mem_env_cfg)::set(this,“*”,“mem_env_cfg”,ecfg);

                   in env 

uvm_config_db #(mem_write_cfg)::set(this,“wagent*”,“mem_write_cfg”,ecfg.ewcfg);

                    in driver 

if(!uvm_config_db #(mem_write_cfg)::get(this,“”,“mem_write_cfg”,wcfg))

Without using config object to send sequence into driver any other way to pass interface?