Class WebComponentProcessor
java.lang.Object
org.wildfly.extension.undertow.deployment.WebComponentProcessor
- All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor
public class WebComponentProcessor
extends Object
implements org.jboss.as.server.deployment.DeploymentUnitProcessor
Processor that figures out what type of component a servlet/listener is, and registers the appropriate metadata.
The different types are:
- Managed Bean - If the servlet is annotated with the
ManagedBeanannotation - Jakarta Contexts and Dependency Injection Bean - If the servlet is deployed in a bean archive
- EE Component - If this is an EE deployment and the servlet is not one of the above
- Normal Servlet - If the EE subsystem is disabled
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.server.deployment.DeploymentUnitProcessor
undeploy
-
Constructor Details
-
WebComponentProcessor
public WebComponentProcessor()
-
-
Method Details
-
deploy
public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException - Specified by:
deployin interfaceorg.jboss.as.server.deployment.DeploymentUnitProcessor- Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-