Skip to content

Commit

Permalink
add @dependent to deployment descriptor servlet
Browse files Browse the repository at this point in the history
  • Loading branch information
aubi committed May 14, 2024
1 parent d8e4914 commit 37f5e06
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,15 @@
import jakarta.enterprise.concurrent.ManagedExecutorService;
import jakarta.enterprise.concurrent.ManagedScheduledExecutorService;
import jakarta.enterprise.concurrent.ManagedThreadFactory;
import jakarta.enterprise.context.Dependent;
import jakarta.enterprise.inject.spi.CDI;
import jakarta.inject.Inject;
import jakarta.servlet.annotation.WebServlet;
import jakarta.transaction.Status;
import jakarta.transaction.UserTransaction;

@WebServlet("/DeploymentDescriptorServlet")
@Dependent
public class DeploymentDescriptorServlet extends TestServlet {
private static final long serialVersionUID = 1L;
private static final long MAX_WAIT_SECONDS = TimeUnit.MINUTES.toSeconds(2);
Expand Down

0 comments on commit 37f5e06

Please sign in to comment.