Interface DeploymentMountProvider


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

      Fields 
      Modifier and Type Field Description
      static org.jboss.msc.service.ServiceName SERVICE_NAME
      Standard ServiceName under which a service controller for an instance of {@code Service would be registered.
    • Field Detail

      • SERVICE_NAME

        static final org.jboss.msc.service.ServiceName SERVICE_NAME
        Standard ServiceName under which a service controller for an instance of {@code Service would be registered.
    • 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 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