Package org.jboss.as.server.deployment
Interface DeploymentMountProvider
-
public interface DeploymentMountProviderProvides VFS mounts of deployment content.- Author:
- Brian Stansberry, Richard Opalka
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDeploymentMountProvider.Factory
-
Field Summary
Fields Modifier and Type Field Description static org.jboss.msc.service.ServiceNameSERVICE_NAMEStandard ServiceName under which a service controller for an instance of {@code Servicewould be registered.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CloseablemountDeploymentContent(org.jboss.vfs.VirtualFile deploymentContents, org.jboss.vfs.VirtualFile mountPoint, MountType mountType)Requests that the given content be mounted in VFS at the givenmountPoint.
-
-
-
Method Detail
-
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
-
-