public class ModClusterUndertowDeploymentProcessor extends Object implements org.jboss.as.server.deployment.DeploymentUnitProcessor
DeploymentUnitProcessor
which adds a dependency on UndertowEventHandlerAdapterBuilder
to web
dependencies (see WFLY-3942) and registers metrics on
deployment if mod_cluster module is loaded.
Constructor and Description |
---|
ModClusterUndertowDeploymentProcessor(Set<org.jboss.modcluster.load.metric.LoadMetric> enabledMetrics) |
Modifier and Type | Method and Description |
---|---|
void |
deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) |
void |
undeploy(org.jboss.as.server.deployment.DeploymentUnit context) |
public ModClusterUndertowDeploymentProcessor(Set<org.jboss.modcluster.load.metric.LoadMetric> enabledMetrics)
public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
deploy
in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
org.jboss.as.server.deployment.DeploymentUnitProcessingException
public void undeploy(org.jboss.as.server.deployment.DeploymentUnit context)
undeploy
in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
Copyright © 2018 JBoss by Red Hat. All rights reserved.