Skip to content

Commit f1bb363

Browse files
committed
fix: server not supported
1 parent 3b4a353 commit f1bb363

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

generator/src/main/java/com/reajason/javaweb/GeneratorMain.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
package com.reajason.javaweb;
22

33
import com.reajason.javaweb.config.*;
4+
import com.reajason.javaweb.memsell.jboss.JbossShell;
45
import com.reajason.javaweb.memsell.jetty.JettyShell;
56
import com.reajason.javaweb.memsell.packer.Packer;
67
import com.reajason.javaweb.memsell.tomcat.TomcatShell;
8+
import com.reajason.javaweb.memsell.undertow.UndertowShell;
79
import lombok.SneakyThrows;
810
import org.apache.commons.codec.binary.Base64;
911

@@ -19,6 +21,8 @@
1921
public class GeneratorMain {
2022
static TomcatShell tomcatShell = new TomcatShell();
2123
static JettyShell jettyShell = new JettyShell();
24+
static JbossShell jbossAsShell = new JbossShell();
25+
static UndertowShell undertowShell = new UndertowShell();
2226

2327
public static void main(String[] args) throws IOException {
2428
ShellConfig shellConfig = ShellConfig.builder()
@@ -47,6 +51,10 @@ public static GenerateResult generate(ShellConfig shellConfig, InjectorConfig in
4751
return tomcatShell.generate(shellConfig, injectorConfig, shellToolConfig);
4852
case JETTY:
4953
return jettyShell.generate(shellConfig, injectorConfig, shellToolConfig);
54+
case JBOSS:
55+
return jbossAsShell.generate(shellConfig, injectorConfig, shellToolConfig);
56+
case UNDERTOW:
57+
return undertowShell.generate(shellConfig, injectorConfig, shellToolConfig);
5058
case BES:
5159
break;
5260
case RESIN:

0 commit comments

Comments
 (0)