Skip to content

Commit

Permalink
fix: server not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
ReaJason committed Dec 10, 2024
1 parent 3b4a353 commit f1bb363
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package com.reajason.javaweb;

import com.reajason.javaweb.config.*;
import com.reajason.javaweb.memsell.jboss.JbossShell;
import com.reajason.javaweb.memsell.jetty.JettyShell;
import com.reajason.javaweb.memsell.packer.Packer;
import com.reajason.javaweb.memsell.tomcat.TomcatShell;
import com.reajason.javaweb.memsell.undertow.UndertowShell;
import lombok.SneakyThrows;
import org.apache.commons.codec.binary.Base64;

Expand All @@ -19,6 +21,8 @@
public class GeneratorMain {
static TomcatShell tomcatShell = new TomcatShell();
static JettyShell jettyShell = new JettyShell();
static JbossShell jbossAsShell = new JbossShell();
static UndertowShell undertowShell = new UndertowShell();

public static void main(String[] args) throws IOException {
ShellConfig shellConfig = ShellConfig.builder()
Expand Down Expand Up @@ -47,6 +51,10 @@ public static GenerateResult generate(ShellConfig shellConfig, InjectorConfig in
return tomcatShell.generate(shellConfig, injectorConfig, shellToolConfig);
case JETTY:
return jettyShell.generate(shellConfig, injectorConfig, shellToolConfig);
case JBOSS:
return jbossAsShell.generate(shellConfig, injectorConfig, shellToolConfig);
case UNDERTOW:
return undertowShell.generate(shellConfig, injectorConfig, shellToolConfig);
case BES:
break;
case RESIN:
Expand Down

0 comments on commit f1bb363

Please sign in to comment.