DT Big Data Dream Factory 57 speaks

Source: Internet
Author: User

Today "DT Big Data DreamWorks Video", 57th Lecture: Scala Dependency Injection in action

Potato: http://www.tudou.com/programs/view/5LnLNDBKvi8/

Baidu Network disk: Http://pan.baidu.com/s/1c0no8yk

(DT Big Data Dream factory Scala all videos, PPT and code in Baidu Cloud disk link address:http://pan.baidu.com/share/home?uk=4013289088#category/type=0& Qq-pf-to=pcqq.group

In this section, teacher Wang spoke of dependency injection. The first is to have a trait a inside to have an object, the object to be mixed with another trait B, and B's Method B (), A has a method a () Call method B (), the dependency injection class C will inherit both A and Withb,c implementation method B (), so you can call C's a () method, The B () method of C is called to complete the dependency injection.


DT Big Data Dream Factory 57 speaks

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.