From 9566810bf5a89a9c5f53be4ad4a20e1153a81f45 Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 24 Apr 2018 18:58:07 +0900 Subject: [PATCH] ing --- .../loafle/overflow/container/server/ContainerServer.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/loafle/overflow/container/server/ContainerServer.java b/src/main/java/com/loafle/overflow/container/server/ContainerServer.java index 0b9efa7..b7d3a3f 100644 --- a/src/main/java/com/loafle/overflow/container/server/ContainerServer.java +++ b/src/main/java/com/loafle/overflow/container/server/ContainerServer.java @@ -4,8 +4,6 @@ import java.io.File; import java.io.FileOutputStream; import java.io.IOException; -import javax.annotation.Resource; - import com.loafle.commons.server.Server; import io.netty.bootstrap.ServerBootstrap; @@ -15,7 +13,6 @@ import io.netty.channel.ChannelFuture; * ContainerServer */ public class ContainerServer extends Server { - @Resource private String pidFilePath; private int portNumber; @@ -23,6 +20,10 @@ public class ContainerServer extends Server { public ContainerServer() { } + public void setPidFilePath(String pidFilePath) { + this.pidFilePath = pidFilePath; + } + protected ChannelFuture bind(ServerBootstrap serverBootstrap) throws Exception { ChannelFuture cf = null;