Package org.jboss.as.server.deployment
Interface DeploymentMountProvider
public interface DeploymentMountProvider
Provides VFS mounts of deployment content.
- Author:
- Brian Stansberry, Richard Opalka
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.jboss.msc.service.ServiceNameStandard ServiceName under which a service controller for an instance of {@code Service<ServerDeploymentRepository> would be registered. -
Method Summary
Modifier and TypeMethodDescriptionmountDeploymentContent(org.jboss.vfs.VirtualFile deploymentContents, org.jboss.vfs.VirtualFile mountPoint, MountType mountType) Requests that the given content be mounted in VFS at the givenmountPoint.
-
Field Details
-
SERVICE_NAME
static final org.jboss.msc.service.ServiceName SERVICE_NAMEStandard ServiceName under which a service controller for an instance of {@code Service<ServerDeploymentRepository> would be registered.
-
-
Method Details
-
mountDeploymentContent
Closeable mountDeploymentContent(org.jboss.vfs.VirtualFile deploymentContents, org.jboss.vfs.VirtualFile mountPoint, MountType mountType) throws IOException Requests that the given content be mounted in VFS at the givenmountPoint.- Parameters:
deploymentContents- the deployment contents. Cannot benullmountPoint- VFS location where the content should be mounted. Cannot benullmountType- The type of mount to perform- Returns:
Closeablethat can be used to close the mount- Throws:
IOException- if there is an IO problem while mounting
-