public class LoggingConfigDeploymentProcessor extends Object implements DeploymentUnitProcessor
| Modifier and Type | Field and Description |
|---|---|
static String |
PER_DEPLOYMENT_LOGGING
Deprecated.
use the
use-deployment-logging-config on the root resource |
| Constructor and Description |
|---|
LoggingConfigDeploymentProcessor(WildFlyLogContextSelector logContextSelector,
String attributeName,
boolean process) |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy(DeploymentPhaseContext phaseContext) |
protected void |
processDeployment(DeploymentPhaseContext phaseContext,
DeploymentUnit deploymentUnit,
ResourceRoot root)
Processes the deployment.
|
protected static void |
safeClose(Closeable closable) |
void |
undeploy(DeploymentUnit context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeploy, undeploy@Deprecated public static final String PER_DEPLOYMENT_LOGGING
use-deployment-logging-config on the root resourcepublic LoggingConfigDeploymentProcessor(WildFlyLogContextSelector logContextSelector, String attributeName, boolean process)
protected void processDeployment(DeploymentPhaseContext phaseContext, DeploymentUnit deploymentUnit, ResourceRoot root) throws DeploymentUnitProcessingException
phaseContext - the phase contextdeploymentUnit - the deployment unitroot - the root resourceDeploymentUnitProcessingException - if an error occurs during processingpublic final void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException
deploy in interface DeploymentUnitProcessorDeploymentUnitProcessingExceptionpublic final void undeploy(DeploymentUnit context)
undeploy in interface DeploymentUnitProcessorprotected static void safeClose(Closeable closable)
Copyright © 2018 JBoss by Red Hat. All rights reserved.