diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/libraries/commons_logging_1_1_1.xml b/.idea/libraries/commons_logging_1_1_1.xml new file mode 100644 index 0000000..932a247 --- /dev/null +++ b/.idea/libraries/commons_logging_1_1_1.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..0548357 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..b50c92e --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Flowers-SpringProject-2205.iml b/Flowers-SpringProject-2205.iml new file mode 100644 index 0000000..38a4178 --- /dev/null +++ b/Flowers-SpringProject-2205.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/out/production/Flowers-SpringProject-2205/bean-di-xml.xml b/out/production/Flowers-SpringProject-2205/bean-di-xml.xml new file mode 100644 index 0000000..5ef2e0a --- /dev/null +++ b/out/production/Flowers-SpringProject-2205/bean-di-xml.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/out/production/Flowers-SpringProject-2205/bean-ioc.xml b/out/production/Flowers-SpringProject-2205/bean-ioc.xml new file mode 100644 index 0000000..1a363ea --- /dev/null +++ b/out/production/Flowers-SpringProject-2205/bean-ioc.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/out/production/Flowers-SpringProject-2205/com/ssm/aop/annotation/TestAnnotation.class b/out/production/Flowers-SpringProject-2205/com/ssm/aop/annotation/TestAnnotation.class new file mode 100644 index 0000000..cd9a1f0 Binary files /dev/null and b/out/production/Flowers-SpringProject-2205/com/ssm/aop/annotation/TestAnnotation.class differ diff --git a/out/production/Flowers-SpringProject-2205/com/ssm/aop/xml/TestXML.class b/out/production/Flowers-SpringProject-2205/com/ssm/aop/xml/TestXML.class new file mode 100644 index 0000000..7cb4c31 Binary files /dev/null and b/out/production/Flowers-SpringProject-2205/com/ssm/aop/xml/TestXML.class differ diff --git a/out/production/Flowers-SpringProject-2205/com/ssm/di/annotation/TestAnnotation.class b/out/production/Flowers-SpringProject-2205/com/ssm/di/annotation/TestAnnotation.class new file mode 100644 index 0000000..31616bf Binary files /dev/null and b/out/production/Flowers-SpringProject-2205/com/ssm/di/annotation/TestAnnotation.class differ diff --git a/out/production/Flowers-SpringProject-2205/com/ssm/di/xml/Message.class b/out/production/Flowers-SpringProject-2205/com/ssm/di/xml/Message.class new file mode 100644 index 0000000..e4ebf3e Binary files /dev/null and b/out/production/Flowers-SpringProject-2205/com/ssm/di/xml/Message.class differ diff --git a/out/production/Flowers-SpringProject-2205/com/ssm/di/xml/TestNew.class b/out/production/Flowers-SpringProject-2205/com/ssm/di/xml/TestNew.class new file mode 100644 index 0000000..fdf0ce2 Binary files /dev/null and b/out/production/Flowers-SpringProject-2205/com/ssm/di/xml/TestNew.class differ diff --git a/out/production/Flowers-SpringProject-2205/com/ssm/di/xml/TestXML.class b/out/production/Flowers-SpringProject-2205/com/ssm/di/xml/TestXML.class new file mode 100644 index 0000000..293ffb9 Binary files /dev/null and b/out/production/Flowers-SpringProject-2205/com/ssm/di/xml/TestXML.class differ diff --git a/out/production/Flowers-SpringProject-2205/com/ssm/first/TestFirst.class b/out/production/Flowers-SpringProject-2205/com/ssm/first/TestFirst.class new file mode 100644 index 0000000..9b6dd49 Binary files /dev/null and b/out/production/Flowers-SpringProject-2205/com/ssm/first/TestFirst.class differ diff --git a/out/production/Flowers-SpringProject-2205/com/ssm/ioc/Message.class b/out/production/Flowers-SpringProject-2205/com/ssm/ioc/Message.class new file mode 100644 index 0000000..c945714 Binary files /dev/null and b/out/production/Flowers-SpringProject-2205/com/ssm/ioc/Message.class differ diff --git a/out/production/Flowers-SpringProject-2205/com/ssm/ioc/TestIoC.class b/out/production/Flowers-SpringProject-2205/com/ssm/ioc/TestIoC.class new file mode 100644 index 0000000..d227f48 Binary files /dev/null and b/out/production/Flowers-SpringProject-2205/com/ssm/ioc/TestIoC.class differ diff --git a/out/production/Flowers-SpringProject-2205/com/ssm/ioc/TestNew.class b/out/production/Flowers-SpringProject-2205/com/ssm/ioc/TestNew.class new file mode 100644 index 0000000..a780158 Binary files /dev/null and b/out/production/Flowers-SpringProject-2205/com/ssm/ioc/TestNew.class differ diff --git a/out/production/Flowers-SpringProject-2205/libs/commons-logging-1.1.1.jar b/out/production/Flowers-SpringProject-2205/libs/commons-logging-1.1.1.jar new file mode 100644 index 0000000..8758a96 Binary files /dev/null and b/out/production/Flowers-SpringProject-2205/libs/commons-logging-1.1.1.jar differ diff --git a/out/production/Flowers-SpringProject-2205/libs/spring-aop-5.1.6.RELEASE.jar b/out/production/Flowers-SpringProject-2205/libs/spring-aop-5.1.6.RELEASE.jar new file mode 100644 index 0000000..35f580e Binary files /dev/null and b/out/production/Flowers-SpringProject-2205/libs/spring-aop-5.1.6.RELEASE.jar differ diff --git a/out/production/Flowers-SpringProject-2205/libs/spring-beans-5.1.6.RELEASE.jar b/out/production/Flowers-SpringProject-2205/libs/spring-beans-5.1.6.RELEASE.jar new file mode 100644 index 0000000..39813b2 Binary files /dev/null and b/out/production/Flowers-SpringProject-2205/libs/spring-beans-5.1.6.RELEASE.jar differ diff --git a/out/production/Flowers-SpringProject-2205/libs/spring-context-5.1.6.RELEASE.jar b/out/production/Flowers-SpringProject-2205/libs/spring-context-5.1.6.RELEASE.jar new file mode 100644 index 0000000..5165820 Binary files /dev/null and b/out/production/Flowers-SpringProject-2205/libs/spring-context-5.1.6.RELEASE.jar differ diff --git a/out/production/Flowers-SpringProject-2205/libs/spring-core-5.1.6.RELEASE.jar b/out/production/Flowers-SpringProject-2205/libs/spring-core-5.1.6.RELEASE.jar new file mode 100644 index 0000000..5522cf3 Binary files /dev/null and b/out/production/Flowers-SpringProject-2205/libs/spring-core-5.1.6.RELEASE.jar differ diff --git a/out/production/Flowers-SpringProject-2205/libs/spring-expression-5.1.6.RELEASE.jar b/out/production/Flowers-SpringProject-2205/libs/spring-expression-5.1.6.RELEASE.jar new file mode 100644 index 0000000..cdc7956 Binary files /dev/null and b/out/production/Flowers-SpringProject-2205/libs/spring-expression-5.1.6.RELEASE.jar differ diff --git a/src/bean-di-xml.xml b/src/bean-di-xml.xml new file mode 100644 index 0000000..5ef2e0a --- /dev/null +++ b/src/bean-di-xml.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/src/bean-ioc.xml b/src/bean-ioc.xml new file mode 100644 index 0000000..1a363ea --- /dev/null +++ b/src/bean-ioc.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/com/ssm/di/xml/Message.java b/src/com/ssm/di/xml/Message.java new file mode 100644 index 0000000..93b56b9 --- /dev/null +++ b/src/com/ssm/di/xml/Message.java @@ -0,0 +1,52 @@ +package com.ssm.di.xml; + +public class Message { + private int id; + private String content; + private String author; + private String age; + + public Message() { + } + + public Message(int id, String content, String author,String age) { + this.id = id; + this.content = content; + this.author = author; + this.age = age; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + public String getAuthor() { + return author; + } + + public void setAuthor(String author) { + this.author = author; + } + public String getAge(){ + return age; + } + public void setAge(String age){ + this.age = age; + } + + public void printInfo(){ + System.out.println("\n用户id:"+getId()+"\n留言内容:"+getContent()+"\n用户姓名"+getAuthor()+"\n用户年龄"+getAge()); + } +} diff --git a/src/com/ssm/ioc/Message.java b/src/com/ssm/ioc/Message.java new file mode 100644 index 0000000..5876b59 --- /dev/null +++ b/src/com/ssm/ioc/Message.java @@ -0,0 +1,52 @@ +package com.ssm.ioc; + +public class Message { + private int id; + private String content; + private String author; + private String age; + + public Message() { + } + + public Message(int id, String content, String author,String age) { + this.id = id; + this.content = content; + this.author = author; + this.age = age; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + public String getAuthor() { + return author; + } + + public void setAuthor(String author) { + this.author = author; + } + public String getAge(){ + return age; + } + public void setAge(String age){ + this.age = age; + } + + public void printInfo(){ + System.out.println("\n用户id:"+getId()+"\n留言内容:"+getContent()+"\n用户姓名"+getAuthor()+"\n用户年龄"+getAge()); + } +}