Will a UVM class be registered in factory in such scenario?

In reply to cgales:

I am meeting the issue that the class is not registered into the library. As I described before, it is compiled but not imported anywhere. Is this behavior defined in LRM or just tool depended behavior? thanks!