Skip to content

Commit

Permalink
Merge branch 'release/2.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
jesse-gallagher committed Jan 4, 2022
2 parents acfdb5b + f98b395 commit ea3009e
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 5 deletions.
2 changes: 1 addition & 1 deletion xpages-runtime-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.openntf.xpages</groupId>
<artifactId>xpages-runtime-example</artifactId>
<version>2.0.0</version>
<version>2.1.0</version>
<packaging>war</packaging>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion xpages-webapp-support/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.openntf.xpages</groupId>
<artifactId>xpages-webapp-support</artifactId>
<version>2.0.0</version>
<version>2.1.0</version>
<packaging>pom</packaging>

<inceptionYear>2019</inceptionYear>
Expand Down
2 changes: 1 addition & 1 deletion xpages-webapp-support/xpages-runtime-domino/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.openntf.xpages</groupId>
<artifactId>xpages-webapp-support</artifactId>
<version>2.0.0</version>
<version>2.1.0</version>
</parent>
<artifactId>xpages-runtime-domino</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion xpages-webapp-support/xpages-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.openntf.xpages</groupId>
<artifactId>xpages-webapp-support</artifactId>
<version>2.0.0</version>
<version>2.1.0</version>
</parent>
<artifactId>xpages-runtime</artifactId>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import org.openntf.xsp.jakartaee.servlet.ServletUtil;

import jakarta.servlet.ServletConfig;
import jakarta.servlet.ServletException;
import jakarta.servlet.ServletRequest;
import jakarta.servlet.ServletResponse;
Expand All @@ -35,6 +36,26 @@ public class JakartaGlobalFacesResourceServlet extends HttpServlet {

private final DesignerGlobalResourceServlet delegate = new DesignerGlobalResourceServlet();

@Override
public void init() throws ServletException {
super.init();
try {
delegate.init();
} catch (javax.servlet.ServletException e) {
throw new ServletException(e);
}
}

@Override
public void init(ServletConfig config) throws ServletException {
super.init(config);
try {
delegate.init(ServletUtil.newToOld(config));
} catch (javax.servlet.ServletException e) {
throw new ServletException(e);
}
}

@Override
public void service(ServletRequest var1, ServletResponse var2) throws ServletException, IOException {
try {
Expand All @@ -58,4 +79,10 @@ public void service(ServletRequest var1, ServletResponse var2) throws ServletExc
}
}
}

@Override
public void destroy() {
super.destroy();
delegate.destroy();
}
}
2 changes: 1 addition & 1 deletion xpages-webapp-support/xsp-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.openntf.xpages</groupId>
<artifactId>xpages-webapp-support</artifactId>
<version>2.0.0</version>
<version>2.1.0</version>
</parent>
<artifactId>xsp-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
Expand Down

0 comments on commit ea3009e

Please sign in to comment.