func doCreateObjRef(requestedType) if(linked("onCreateObjRef")) event("onCreateObjRef", sys.get_obj_name(this.name) + '.CreateObjRef(' + requestedType + ')') else blk.println(sys.get_obj_name(this.name), '.CreateObjRef(', requestedType, ');') end end func GetLifetimeService return(sys.get_obj_name(this.name) + '.GetLifetimeService()') end func InitializeLifetimeService return(sys.get_obj_name(this.name) + '.InitializeLifetimeService()') end