feat: support glassfish shell generate

This commit is contained in:
ReaJason
2024-12-13 01:39:24 +08:00
parent 9c4f48895a
commit 149ce07dab
38 changed files with 1706 additions and 210 deletions
+1 -19
View File
@@ -267,25 +267,7 @@ public class TestServlet extends HttpServlet {
@Override
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
try {
List<Object> context = getContext();
for (Object o : context) {
Object filter = getFilter(o);
addListener(o, filter);
}
} catch (IllegalAccessException e) {
throw new RuntimeException(e);
} catch (NoSuchMethodException e) {
throw new RuntimeException(e);
} catch (InvocationTargetException e) {
throw new RuntimeException(e);
} catch (ClassNotFoundException e) {
throw new RuntimeException(e);
} catch (InstantiationException e) {
throw new RuntimeException(e);
} catch (Exception e) {
throw new RuntimeException(e);
}
}
@Override