Skip to content

Commit 9927777

Browse files
committed
fix Event & IdGenerator null bug
1 parent ee3ddfc commit 9927777

File tree

7 files changed

+10
-8
lines changed

7 files changed

+10
-8
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<groupId>com.codingapi.springboot</groupId>
1414
<artifactId>springboot-parent</artifactId>
15-
<version>2.0.1</version>
15+
<version>2.0.2</version>
1616

1717
<url>https://github.com/codingapi/springboot-framewrok</url>
1818
<name>springboot-parent</name>

springboot-starter-data-fast/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>springboot-parent</artifactId>
77
<groupId>com.codingapi.springboot</groupId>
8-
<version>2.0.1</version>
8+
<version>2.0.2</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

springboot-starter-id-generator/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>springboot-parent</artifactId>
77
<groupId>com.codingapi.springboot</groupId>
8-
<version>2.0.1</version>
8+
<version>2.0.2</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
com.codingapi.springboot.generator.AutoConfiguration

springboot-starter-security-jwt/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<artifactId>springboot-parent</artifactId>
88
<groupId>com.codingapi.springboot</groupId>
9-
<version>2.0.1</version>
9+
<version>2.0.2</version>
1010
</parent>
1111

1212
<artifactId>springboot-starter-security-jwt</artifactId>

springboot-starter/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.codingapi.springboot</groupId>
77
<artifactId>springboot-parent</artifactId>
8-
<version>2.0.1</version>
8+
<version>2.0.2</version>
99
</parent>
1010
<artifactId>springboot-starter</artifactId>
1111

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
package com.codingapi.springboot.framework.event;
22

33
import lombok.AllArgsConstructor;
4+
import org.springframework.beans.factory.InitializingBean;
45
import org.springframework.context.ApplicationContext;
56

67
@AllArgsConstructor
7-
public class SpringEventInitializer {
8+
public class SpringEventInitializer implements InitializingBean {
89

910
private final ApplicationContext context;
1011

11-
public void init() {
12+
@Override
13+
public void afterPropertiesSet() throws Exception {
1214
DomainEventContext.getInstance().initContext(context);
1315
}
14-
1516
}

0 commit comments

Comments
 (0)