资源简介

一个简单领域驱动设计中的configurable注解的demo,涉及到技术springboot aspectj

资源截图

代码片段和文件信息

package com.chj.test;

import com.chj.test.domain.HelloDomain;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.aspectj.EnableSpringConfigured;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@EnableSpringConfigured
@RestController
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class args);
    }

    @RequestMapping(value = {“/“ “/index“} method = RequestMethod.GET)
    public String index() {
        return new HelloDomain().sayHello();
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-11-15 17:01  springboot-configurable-demo\
     目录           0  2017-11-15 17:01  springboot-configurable-demo\.idea\
     文件        1002  2017-11-15 16:29  springboot-configurable-demo\.idea\compiler.xml
     目录           0  2017-11-15 15:58  springboot-configurable-demo\.idea\inspectionProfiles\
     目录           0  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\
     文件         566  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__ch_qos_logback_logback_classic_1_1_11.xml
     文件         545  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__ch_qos_logback_logback_core_1_1_11.xml
     文件         513  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__com_fasterxml_classmate_1_3_4.xml
     文件         635  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_annotations_2_8_0.xml
     文件         593  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_core_2_8_10.xml
     文件         621  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_databind_2_8_10.xml
     文件         602  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__javax_validation_validation_api_1_1_0_Final.xml
     文件         616  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_20.xml
     文件         602  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__org_apache_tomcat_embed_tomcat_embed_el_8_5_20.xml
     文件         651  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_5_20.xml
     文件         512  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__org_aspectj_aspectjrt_1_8_10.xml
     文件         533  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__org_aspectj_aspectjtools_1_8_10.xml
     文件         540  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__org_aspectj_aspectjweaver_1_8_10.xml
     文件         625  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__org_hibernate_hibernate_validator_5_3_5_Final.xml
     文件         599  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__org_jboss_logging_jboss_logging_3_3_1_Final.xml
     文件         539  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__org_slf4j_jcl_over_slf4j_1_7_25.xml
     文件         525  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__org_slf4j_jul_to_slf4j_1_7_25.xml
     文件         553  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__org_slf4j_log4j_over_slf4j_1_7_25.xml
     文件         504  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__org_slf4j_slf4j_api_1_7_25.xml
     文件         627  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__org_springframework_boot_spring_boot_1_5_7_RELEASE.xml
     文件         725  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__org_springframework_boot_spring_boot_autoconfigure_1_5_7_RELEASE.xml
     文件         683  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__org_springframework_boot_spring_boot_starter_1_5_7_RELEASE.xml
     文件         739  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__org_springframework_boot_spring_boot_starter_logging_1_5_7_RELEASE.xml
     文件         732  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__org_springframework_boot_spring_boot_starter_tomcat_1_5_7_RELEASE.xml
     文件         711  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__org_springframework_boot_spring_boot_starter_web_1_5_7_RELEASE.xml
     文件         607  2017-11-15 16:17  springboot-configurable-demo\.idea\libraries\Maven__org_springframework_spring_aop_4_3_11_RELEASE.xml
............此处省略40个文件信息

评论

共有 条评论