Module: Syskit::Component::Proxying

Defined in:
lib/syskit/component.rb

Instance Method Summary collapse

Instance Method Details

#commit_transactionObject

Applies model specializations to the target task as well



756
757
758
759
760
761
762
763
764
765
# File 'lib/syskit/component.rb', line 756

def commit_transaction
    super if defined? super
    if specialized_model?
        __getobj__.specialize
    end

    # Merge the InstanceRequirements objects
    __getobj__.update_requirements(requirements)
    __getobj__.duplicate_missing_services_from(self)
end