Package org.jboss.as.server.deployment
Class DeferredDeploymentOverlayDeploymentUnitProcessor
- java.lang.Object
-
- org.jboss.as.server.deployment.DeploymentOverlayDeploymentUnitProcessor
-
- org.jboss.as.server.deployment.DeferredDeploymentOverlayDeploymentUnitProcessor
-
- All Implemented Interfaces:
DeploymentUnitProcessor
public class DeferredDeploymentOverlayDeploymentUnitProcessor extends DeploymentOverlayDeploymentUnitProcessor
Deployment unit processor that adds content overrides to the VFS filesystem for overlays that could not be initially resolved.- Author:
- Stuart Douglas
-
-
Field Summary
-
Fields inherited from class org.jboss.as.server.deployment.DeploymentOverlayDeploymentUnitProcessor
DEFERRED_OVERLAYS, MOUNTED_FILES
-
-
Constructor Summary
Constructors Constructor Description DeferredDeploymentOverlayDeploymentUnitProcessor(ContentRepository contentRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,byte[]>getDeferredAttachment(DeploymentUnit deploymentUnit)protected Map<String,MountedDeploymentOverlay>getMountsAttachment(DeploymentUnit deploymentUnit)protected Map<String,byte[]>getOverlays(DeploymentUnit deploymentUnit)protected voidhandleEntryWithFileParent(Map<String,byte[]> deferred, Map.Entry<String,byte[]> entry, String path, org.jboss.vfs.VirtualFile parent)protected voidhandleExplodedEntryWithDirParent(DeploymentUnit deploymentUnit, org.jboss.vfs.VirtualFile content, org.jboss.vfs.VirtualFile mountPoint, Map<String,MountedDeploymentOverlay> mounts, String overLayPath)
-
-
-
Constructor Detail
-
DeferredDeploymentOverlayDeploymentUnitProcessor
public DeferredDeploymentOverlayDeploymentUnitProcessor(ContentRepository contentRepository)
-
-
Method Detail
-
handleEntryWithFileParent
protected void handleEntryWithFileParent(Map<String,byte[]> deferred, Map.Entry<String,byte[]> entry, String path, org.jboss.vfs.VirtualFile parent)
- Overrides:
handleEntryWithFileParentin classDeploymentOverlayDeploymentUnitProcessor
-
handleExplodedEntryWithDirParent
protected void handleExplodedEntryWithDirParent(DeploymentUnit deploymentUnit, org.jboss.vfs.VirtualFile content, org.jboss.vfs.VirtualFile mountPoint, Map<String,MountedDeploymentOverlay> mounts, String overLayPath) throws IOException
- Overrides:
handleExplodedEntryWithDirParentin classDeploymentOverlayDeploymentUnitProcessor- Throws:
IOException
-
getDeferredAttachment
protected Map<String,byte[]> getDeferredAttachment(DeploymentUnit deploymentUnit)
- Overrides:
getDeferredAttachmentin classDeploymentOverlayDeploymentUnitProcessor
-
getMountsAttachment
protected Map<String,MountedDeploymentOverlay> getMountsAttachment(DeploymentUnit deploymentUnit)
- Overrides:
getMountsAttachmentin classDeploymentOverlayDeploymentUnitProcessor
-
getOverlays
protected Map<String,byte[]> getOverlays(DeploymentUnit deploymentUnit)
- Overrides:
getOverlaysin classDeploymentOverlayDeploymentUnitProcessor
-
-