Interface DeploymentMountProvider


public interface DeploymentMountProvider
Provides VFS mounts of deployment content.
Author:
Brian Stansberry, Richard Opalka
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.jboss.msc.service.ServiceName
    Standard ServiceName under which a service controller for an instance of {@code Service<ServerDeploymentRepository> would be registered.
  • Method Summary

    Modifier and Type
    Method
    Description
    mountDeploymentContent(org.jboss.vfs.VirtualFile deploymentContents, org.jboss.vfs.VirtualFile mountPoint, MountType mountType)
    Requests that the given content be mounted in VFS at the given mountPoint.
  • Field Details

    • SERVICE_NAME

      static final org.jboss.msc.service.ServiceName SERVICE_NAME
      Standard 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 given mountPoint.
      Parameters:
      deploymentContents - the deployment contents. Cannot be null
      mountPoint - VFS location where the content should be mounted. Cannot be null
      mountType - The type of mount to perform
      Returns:
      Closeable that can be used to close the mount
      Throws:
      IOException - if there is an IO problem while mounting