public final class Mounter
extends java.lang.Object
mountpoint and rooted at rootPath.
For example if the mountpoint is http://.../test/export and the rootPath is /foo, then the filesystem's root node
has a internal repository path "/foo" that corresponds to the "real" repository node at "/test/export".
The workspace filter will be matched against the filesystem paths (e.g. /foo).| Constructor and Description |
|---|
Mounter() |
| Modifier and Type | Method and Description |
|---|---|
static VaultFileSystem |
mount(VaultFsConfig config,
WorkspaceFilter wspFilter,
RepositoryAddress mountpoint,
java.lang.String rootPath,
javax.jcr.Session session)
Mounts a new Vault filesystem on the given repository node.
|
static VaultFileSystem |
mount(VaultFsConfig config,
WorkspaceFilter wspFilter,
javax.jcr.Repository rep,
javax.jcr.Credentials credentials,
RepositoryAddress mountpoint,
java.lang.String rootPath)
Mounts a new Vault filesystem that is rooted at the given path using
the provided repository, credentials and workspace to create the
session.
|
public static VaultFileSystem mount(VaultFsConfig config, WorkspaceFilter wspFilter, RepositoryAddress mountpoint, java.lang.String rootPath, javax.jcr.Session session) throws javax.jcr.RepositoryException, java.io.IOException
config - vault fs configwspFilter - the workspace filtermountpoint - the address of the mountpointrootPath - path of root file. used for remappingsession - the repository sessionjavax.jcr.RepositoryException - if an error occurs.java.io.IOException - if an I/O error occurs.public static VaultFileSystem mount(VaultFsConfig config, WorkspaceFilter wspFilter, javax.jcr.Repository rep, javax.jcr.Credentials credentials, RepositoryAddress mountpoint, java.lang.String rootPath) throws javax.jcr.RepositoryException, java.io.IOException
config - vault fs configwspFilter - the workspace filterrep - the jcr repositorycredentials - the credentialsmountpoint - the repository address of the mountpointrootPath - path of root file. used for remappingjavax.jcr.RepositoryException - if an error occurs.java.io.IOException - if an I/O error occurs.Copyright © 2010 - 2025 Adobe. All Rights Reserved