Package org.jboss.as.logging.deployments
Class LoggingConfigDeploymentProcessor
- java.lang.Object
-
- org.jboss.as.logging.deployments.LoggingConfigDeploymentProcessor
-
- All Implemented Interfaces:
DeploymentUnitProcessor
public class LoggingConfigDeploymentProcessor extends Object implements DeploymentUnitProcessor
- Author:
- James R. Perkins
-
-
Field Summary
Fields Modifier and Type Field Description static StringPER_DEPLOYMENT_LOGGINGDeprecated.use theuse-deployment-logging-configon the root resource
-
Constructor Summary
Constructors Constructor Description LoggingConfigDeploymentProcessor(WildFlyLogContextSelector logContextSelector, String attributeName, boolean process)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeploy(DeploymentPhaseContext phaseContext)protected voidprocessDeployment(DeploymentPhaseContext phaseContext, DeploymentUnit deploymentUnit, ResourceRoot root)Processes the deployment.voidundeploy(DeploymentUnit context)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.as.server.deployment.DeploymentUnitProcessor
deploy, undeploy
-
-
-
-
Field Detail
-
PER_DEPLOYMENT_LOGGING
@Deprecated public static final String PER_DEPLOYMENT_LOGGING
Deprecated.use theuse-deployment-logging-configon the root resource- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LoggingConfigDeploymentProcessor
public LoggingConfigDeploymentProcessor(WildFlyLogContextSelector logContextSelector, String attributeName, boolean process)
-
-
Method Detail
-
processDeployment
protected void processDeployment(DeploymentPhaseContext phaseContext, DeploymentUnit deploymentUnit, ResourceRoot root) throws DeploymentUnitProcessingException
Processes the deployment.- Parameters:
phaseContext- the phase contextdeploymentUnit- the deployment unitroot- the root resource- Throws:
DeploymentUnitProcessingException- if an error occurs during processing
-
deploy
public final void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException
- Specified by:
deployin interfaceDeploymentUnitProcessor- Throws:
DeploymentUnitProcessingException
-
undeploy
public final void undeploy(DeploymentUnit context)
- Specified by:
undeployin interfaceDeploymentUnitProcessor
-
-