forked from Cookies_Github_mirror/AquaDX
[-] Remove unnecessary beans
This commit is contained in:
@@ -10,10 +10,8 @@ import io.netty.handler.logging.LogLevel
|
||||
import io.netty.handler.logging.LoggingHandler
|
||||
import org.slf4j.Logger
|
||||
import org.slf4j.LoggerFactory
|
||||
import org.springframework.beans.factory.config.BeanDefinition
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties
|
||||
import org.springframework.context.annotation.Configuration
|
||||
import org.springframework.context.annotation.Scope
|
||||
import org.springframework.stereotype.Component
|
||||
import java.net.InetAddress
|
||||
import java.net.InetSocketAddress
|
||||
@@ -64,7 +62,6 @@ class AimeDbServer(
|
||||
}
|
||||
|
||||
@Component
|
||||
@Scope(BeanDefinition.SCOPE_PROTOTYPE)
|
||||
class AimeDbServerInitializer(
|
||||
val aimeDbRequestHandler: AimeDbRequestHandler
|
||||
) : ChannelInitializer<SocketChannel>() {
|
||||
|
||||
Reference in New Issue
Block a user