Skip to content

Commit 5fcf0ea

Browse files
committed
🍻 add lwm2m bootstrap server
1 parent 137876e commit 5fcf0ea

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

IOT-Guide-Lwm2m/pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,22 @@
3030
<groupId>org.eclipse.leshan</groupId>
3131
<artifactId>leshan-server-redis</artifactId>
3232
</dependency>
33+
<dependency>
34+
<groupId>org.springframework</groupId>
35+
<artifactId>spring-context-support</artifactId>
36+
</dependency>
37+
<dependency>
38+
<groupId>org.springframework</groupId>
39+
<artifactId>spring-context</artifactId>
40+
</dependency>
41+
<dependency>
42+
<groupId>ch.qos.logback</groupId>
43+
<artifactId>logback-core</artifactId>
44+
</dependency>
45+
<dependency>
46+
<groupId>ch.qos.logback</groupId>
47+
<artifactId>logback-classic</artifactId>
48+
</dependency>
3349
</dependencies>
3450

3551
</project>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
package iot.technology.lwm2m.bootstrap;
2+
3+
import lombok.extern.slf4j.Slf4j;
4+
import org.springframework.stereotype.Component;
5+
6+
import javax.annotation.PostConstruct;
7+
import javax.annotation.PreDestroy;
8+
9+
/**
10+
* @author mushuwei
11+
*/
12+
@Slf4j
13+
@Component
14+
public class LwM2MTransportBootstrapServerConfiguration {
15+
16+
@PostConstruct
17+
public void init() {
18+
19+
}
20+
21+
@PreDestroy
22+
public void shutdown() {
23+
24+
}
25+
}

0 commit comments

Comments
 (0)