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
ConstructorsConstructorDescriptionDeferredDeploymentOverlayDeploymentUnitProcessor(ContentRepository contentRepository) -
Method Summary
Modifier and TypeMethodDescriptiongetDeferredAttachment(DeploymentUnit deploymentUnit) protected Map<String,MountedDeploymentOverlay> getMountsAttachment(DeploymentUnit deploymentUnit) 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 Details
-
DeferredDeploymentOverlayDeploymentUnitProcessor
-
-
Method Details
-
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
- Overrides:
getDeferredAttachmentin classDeploymentOverlayDeploymentUnitProcessor
-
getMountsAttachment
- Overrides:
getMountsAttachmentin classDeploymentOverlayDeploymentUnitProcessor
-
getOverlays
- Overrides:
getOverlaysin classDeploymentOverlayDeploymentUnitProcessor
-