In reply to xcxfly:
For registering your object with the factory write simply: `uvm_object_utils(my_transaction)