Class Application
java.lang.Object
org.springframework.boot.web.servlet.support.SpringBootServletInitializer
org.rockhopper.smarthome.wes.jwes.simulator.Application
- All Implemented Interfaces:
org.springframework.web.WebApplicationInitializer
@SpringBootApplication
@EnableConfigurationProperties(NettyProperties.class)
public class Application
extends org.springframework.boot.web.servlet.support.SpringBootServletInitializer
Spring Java Configuration and Bootstrap
- Author:
- Jibeom Jung
-
Field Summary
Fields inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.netty.channel.nio.NioEventLoopGroupprotected org.springframework.boot.builder.SpringApplicationBuilderconfigure(org.springframework.boot.builder.SpringApplicationBuilder application) static voidio.netty.bootstrap.ServerBootstrapio.netty.channel.nio.NioEventLoopGroupMethods inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer
createRootApplicationContext, createSpringApplicationBuilder, deregisterJdbcDrivers, onStartup, run, setRegisterErrorPageFilter, shutDownSharedReactorSchedulers
-
Constructor Details
-
Application
public Application()
-
-
Method Details
-
main
- Throws:
Exception
-
configure
protected org.springframework.boot.builder.SpringApplicationBuilder configure(org.springframework.boot.builder.SpringApplicationBuilder application) - Overrides:
configurein classorg.springframework.boot.web.servlet.support.SpringBootServletInitializer
-
tcpServerBootstrap
@Bean(name="tcpServerBootstrap") public io.netty.bootstrap.ServerBootstrap tcpServerBootstrap() -
tcpChannelOptions
-
bossGroup
@Bean(destroyMethod="shutdownGracefully") public io.netty.channel.nio.NioEventLoopGroup bossGroup() -
workerGroup
@Bean(destroyMethod="shutdownGracefully") public io.netty.channel.nio.NioEventLoopGroup workerGroup() -
tcpSocketAddress
-