public class EnhancedListenerTestBase extends Object
org.jboss.weld.environment.servlet.EnhancedListener works correctly on its own, i.e. if the
org.jboss.weld.environment.servlet.Listener is not configured in web.xml.
Note that Jetty test suite is using both Listener and EnhancedListener for all the tests. However a workaround is required for Tomcat embedded due to Maven
Surefire classloading issues. See also Classloading and Forking
in Maven Surefire. Therefore this is the only test in Tomcat test suite for EnhancedListener.| Modifier and Type | Field and Description |
|---|---|
static org.jboss.shrinkwrap.api.asset.Asset |
WEB_XML |
| Constructor and Description |
|---|
EnhancedListenerTestBase() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
deployment() |
void |
testAloneEnhancedListener(Ping ping) |
public static final org.jboss.shrinkwrap.api.asset.Asset WEB_XML
public static org.jboss.shrinkwrap.api.spec.WebArchive deployment()
public void testAloneEnhancedListener(Ping ping)
Copyright © 2014 Seam Framework. All Rights Reserved.