Class ProcessesXmlProcessor
java.lang.Object
org.camunda.bpm.container.impl.jboss.deployment.processor.ProcessesXmlProcessor
- All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor
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)
- Author:
- Daniel Meyer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deploy
(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) protected String[]
getDeploymentDescriptors
(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) getDeploymentDescriptorUrls
(org.jboss.modules.Module module, String[] deploymentDescriptors) protected org.jboss.vfs.VirtualFile
protected Enumeration<URL>
getProcessesXmlResources
(org.jboss.modules.Module module, String[] deploymentDescriptors) protected boolean
isEmptyFile
(URL url) protected ProcessesXml
parseProcessesXml
(URL url) 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
undeploy
-
Field Details
-
PROCESSES_XML
- See Also:
-
PRIORITY
public static final int PRIORITY- See Also:
-
-
Constructor Details
-
ProcessesXmlProcessor
public ProcessesXmlProcessor()
-
-
Method Details
-
deploy
public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException - Specified by:
deploy
in interfaceorg.jboss.as.server.deployment.DeploymentUnitProcessor
- Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-
getDeploymentDescriptorUrls
protected List<URL> getDeploymentDescriptorUrls(org.jboss.modules.Module module, String[] deploymentDescriptors) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException - Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-
getDeploymentDescriptors
protected String[] getDeploymentDescriptors(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException - Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-
getProcessesXmlResources
protected Enumeration<URL> getProcessesXmlResources(org.jboss.modules.Module module, String[] deploymentDescriptors) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException - Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-
getFile
protected org.jboss.vfs.VirtualFile getFile(URL processesXmlResource) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException - Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-
isEmptyFile
-
parseProcessesXml
-