You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summer is a minimized AOP and IoC kernel toolset. It provides a lightweight and efficient solution for building Java applications, supporting XML-based bean definition and dependency injection, as well as AOP functionality. The project consists of two main modules: `summer-beans` and `summer-validator`.
53
+
54
+
### Modules
55
+
-**summer-beans**: Core module for bean management, including bean definition, creation, and dependency injection. It also supports AOP features such as proxy creation and advice execution.
56
+
-**summer-validator**: A validation module that provides various validation rules for collections and objects.
46
57
47
58
Summer is a minimized AOP (Aspect-Oriented Programming) and IoC (Inversion of Control) kernel tool library. It provides a set of validators and related utility classes to simplify the validation logic of objects and collections. Additionally, it includes some functions for batch task processing.
48
59
@@ -72,8 +83,24 @@ the status, progress, and related information of main and sub-tasks.
72
83
73
84
### Prerequisites
74
85
Make sure you have Java and Maven installed in your development environment.
86
+
- Java 8 or higher
87
+
- Maven
75
88
76
89
### Installation
90
+
1. Clone the repository:
91
+
92
+
```shell
93
+
git clone https://github.com/dianpoint/summer.git
94
+
cd summer
95
+
```
96
+
97
+
2. Build the project using Maven:
98
+
```shell
99
+
mvn clean install
100
+
```
101
+
102
+
103
+
### Usage
77
104
78
105
Clone the repository to your local machine:
79
106
@@ -91,53 +118,148 @@ mvn clean install
91
118
92
119
93
120
## Usage
121
+
#### Bean Definition and Injection
122
+
You can define beans in an XML file and use the XmlBeanDefinitionReader to load and register them. Here is an example:
Summer supports AOP through proxy creation and advice execution. You can use the ProxyFactoryBean to create a proxy for a target object and apply advice before or after method execution.
See the [issues](https://github/dianpoint/summer/issues) for a full list of proposed features and known issues.
148
+
#### Validation
149
+
The summer-validator module provides validation rules for collections and objects. You can use the ValidationRules and Validators classes to perform validation.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
0 commit comments