Skip to content

Commit

Permalink
Migrate away from deprecated WeldListener
Browse files Browse the repository at this point in the history
  • Loading branch information
pzygielo committed Jan 4, 2025
1 parent 572060f commit 5228b45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022, 2022 Contributors to the Eclipse Foundation.
* Copyright (c) 2022, 2025 Contributors to the Eclipse Foundation.
* Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
Expand Down Expand Up @@ -59,7 +59,7 @@ class AsyncContextImpl implements AsyncContext {
// Note...this constant is also defined in org.glassfish.weld.WeldDeployer. If it changes here it must
// change there as well. The reason it is duplicated is so that a dependency from web-core to gf-weld-connector
// is not necessary.
private static final String WELD_LISTENER = "org.jboss.weld.module.web.servlet.WeldListener";
private static final String WELD_LISTENER = "org.jboss.weld.module.web.servlet.WeldInitialListener";


/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021, 2024 Contributors to the Eclipse Foundation.
* Copyright (c) 2021, 2025 Contributors to the Eclipse Foundation.
* Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
Expand Down Expand Up @@ -135,7 +135,7 @@ public class WeldDeployer extends SimpleDeployer<WeldContainer, WeldApplicationC
// Note...this constant is also defined in org.apache.catalina.connector.AsyncContextImpl. If it changes here it must
// change there as well. The reason it is duplicated is so that a dependency from web-core to gf-weld-connector
// is not necessary.
private static final String WELD_LISTENER = "org.jboss.weld.module.web.servlet.WeldListener";
private static final String WELD_LISTENER = "org.jboss.weld.module.web.servlet.WeldInitialListener";
private static final String WELD_TERMINATION_LISTENER = "org.jboss.weld.module.web.servlet.WeldTerminalListener";
private static final String WELD_SHUTDOWN = "weld_shutdown";

Expand Down

0 comments on commit 5228b45

Please sign in to comment.