public class ProcessesXmlProcessor extends Object implements org.jboss.as.server.deployment.DeploymentUnitProcessor
Detects and processes all META-INF/processes.xml files that are visible from the module
classloader of the DeploymentUnit
.
This is POST_MODULE so we can take into account module visibility in case of composite deployments (EARs)
Modifier and Type | Field and Description |
---|---|
static int |
PRIORITY |
static String |
PROCESSES_XML |
Constructor and Description |
---|
ProcessesXmlProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) |
protected String[] |
getDeploymentDescriptors(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) |
protected List<URL> |
getDeploymentDescriptorUrls(org.jboss.modules.Module module,
String[] deploymentDescriptors) |
protected org.jboss.vfs.VirtualFile |
getFile(URL processesXmlResource) |
protected Enumeration<URL> |
getProcessesXmlResources(org.jboss.modules.Module module,
String[] deploymentDescriptors) |
protected boolean |
isEmptyFile(URL url) |
protected ProcessesXml |
parseProcessesXml(URL url) |
void |
undeploy(org.jboss.as.server.deployment.DeploymentUnit context) |
public static final String PROCESSES_XML
public static final int PRIORITY
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
protected List<URL> getDeploymentDescriptorUrls(org.jboss.modules.Module module, String[] deploymentDescriptors) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
org.jboss.as.server.deployment.DeploymentUnitProcessingException
protected String[] getDeploymentDescriptors(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
org.jboss.as.server.deployment.DeploymentUnitProcessingException
protected Enumeration<URL> getProcessesXmlResources(org.jboss.modules.Module module, String[] deploymentDescriptors) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
org.jboss.as.server.deployment.DeploymentUnitProcessingException
protected org.jboss.vfs.VirtualFile getFile(URL processesXmlResource) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
org.jboss.as.server.deployment.DeploymentUnitProcessingException
protected boolean isEmptyFile(URL url)
protected ProcessesXml parseProcessesXml(URL url)
public void undeploy(org.jboss.as.server.deployment.DeploymentUnit context)
undeploy
in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
Copyright © 2017. All rights reserved.