Skip to content

Commit 94bafdc

Browse files
committed
reactify-core
1 parent d30779c commit 94bafdc

File tree

7 files changed

+75
-2
lines changed

7 files changed

+75
-2
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
package com.reactify;
2+
3+
import org.springframework.context.annotation.ComponentScan;
4+
import org.springframework.context.annotation.Configuration;
5+
6+
/**
7+
* Autoconfiguration for the reactify-cache library.
8+
* <p>
9+
* Automatically scans and registers components in the <code>com.reactify</code> package,
10+
* enabling seamless integration with Spring Boot.
11+
* </p>
12+
*
13+
* <h3>Usage:</h3>
14+
* <pre>
15+
* Add the reactify-cache dependency, and Spring Boot will configure its components automatically.
16+
* </pre>
17+
*
18+
* @author @hoangtien2k3
19+
* @since 1.0
20+
*/
21+
@Configuration
22+
@ComponentScan(basePackages = "com.reactify")
23+
public class CacheAutoConfiguration {
24+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
com.reactify.ClientAutoConfiguration
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
package com.reactify;
2+
3+
import org.springframework.context.annotation.ComponentScan;
4+
import org.springframework.context.annotation.Configuration;
5+
6+
/**
7+
* Autoconfiguration for the reactify-client library.
8+
* <p>
9+
* Automatically scans and registers components in the <code>com.reactify</code> package,
10+
* enabling seamless integration with Spring Boot.
11+
* </p>
12+
*
13+
* <h3>Usage:</h3>
14+
* <pre>
15+
* Add the reactify-client dependency, and Spring Boot will configure its components automatically.
16+
* </pre>
17+
*
18+
* @author @hoangtien2k3
19+
* @since 1.0
20+
*/
21+
@Configuration
22+
@ComponentScan(basePackages = "com.reactify")
23+
public class ClientAutoConfiguration {
24+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
com.reactify.ClientAutoConfiguration

reactify-test/src/main/java/com/reactify/test/ReactifyTestApplication.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@
1717

1818
import org.springframework.boot.SpringApplication;
1919
import org.springframework.boot.autoconfigure.SpringBootApplication;
20-
import org.springframework.context.annotation.ComponentScan;
2120

2221
@SpringBootApplication
23-
@ComponentScan(basePackages = {"com.reactify.test", "com.reactify"})
2422
public class ReactifyTestApplication {
2523

2624
public static void main(String[] args) {
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
package com.reactify;
2+
3+
import org.springframework.context.annotation.ComponentScan;
4+
import org.springframework.context.annotation.Configuration;
5+
6+
/**
7+
* Autoconfiguration for the reactify-utils library.
8+
* <p>
9+
* Automatically scans and registers components in the <code>com.reactify</code> package,
10+
* enabling seamless integration with Spring Boot.
11+
* </p>
12+
*
13+
* <h3>Usage:</h3>
14+
* <pre>
15+
* Add the reactify-utils dependency, and Spring Boot will configure its components automatically.
16+
* </pre>
17+
*
18+
* @author @hoangtien2k3
19+
* @since 1.0
20+
*/
21+
@Configuration
22+
@ComponentScan(basePackages = "com.reactify")
23+
public class UtilsAutoConfiguration {
24+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
com.reactify.UtilsAutoConfiguration

0 commit comments

Comments
 (0)