This listener takes in the init parameter "jboss.embedded.resources"
which is a comma delimited list of ServletContext resources that you want
deployed within the WAR file. i.e. "/WEB-INF/lib/mybeans.jar"
When the WAR is initialized, those referenced resources will be deployed.
When the WAR is destroyed, those referenced resources are undeployed from the
- Bill Burke
- $Revision: 44597 $
if (resources == null) throw new RuntimeException("You must specify a resources parameter to the ServletContextResourceScanner");
throw new RuntimeException("Unable to add servlet resource to deloyer: " + token, e);
throw new RuntimeException("Failed to deploy servlet resources: " + resources, e);