本文整理了Java中org.modeshape.jcr.RepositoryConfiguration.getAllWorkspaceNames
方法的一些代码示例,展示了RepositoryConfiguration.getAllWorkspaceNames
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RepositoryConfiguration.getAllWorkspaceNames
方法的具体详情如下:
包路径:org.modeshape.jcr.RepositoryConfiguration
类名称:RepositoryConfiguration
方法名:getAllWorkspaceNames
[英]Obtain all of the workspace names specified by this repository, including the #getPredefinedWorkspaceNames() and the #getDefaultWorkspaceName(). The result does not contain the names of any dynamically-created workspaces (e.g., those not specified in the configuration).
[中]获取此存储库指定的所有工作区名称,包括#getPredefinedWorkspaceNames()和#getDefaultWorkspaceName()。结果不包含任何动态创建的工作空间的名称(例如,配置中未指定的工作空间)。
代码示例来源:origin: ModeShape/modeshape
this.name = configuration.getName();
this.workspaceCachesByName = new ConcurrentHashMap<>();
this.workspaceNames = new CopyOnWriteArraySet<>(configuration.getAllWorkspaceNames());
this.upgrades = upgradeFunctions;
this.workspaceCacheSize = configuration.getWorkspaceCacheSize();
代码示例来源:origin: org.fcrepo/modeshape-jcr
this.name = configuration.getName();
this.workspaceCachesByName = new ConcurrentHashMap<>();
this.workspaceNames = new CopyOnWriteArraySet<>(configuration.getAllWorkspaceNames());
this.upgrades = upgradeFunctions;
this.workspaceCacheSize = configuration.getWorkspaceCacheSize();
内容来源于网络,如有侵权,请联系作者删除!