OpenLiberty/liberty-arquillian

Detect names of servlets from web.xml

kathrynkodama opened this issue · 1 comments

With the j2eemangement feature no longer being supported for Jakarta EE 9, we need a new way to detect the names of servlets when multiple applications are deployed and we must inject multiple servlets.

See these tests for example uses: https://github.com/OpenLiberty/liberty-arquillian/tree/master/liberty-managed/src/test/java/io/openliberty/arquillian/managed/needsmanagementmbeans

We should get the web.xml file from the WebArchive and use that to determine the servlet names.