org.modeshape.jcr.RepositoryConfiguration.getAllWorkspaceNames()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(1.4k)|赞(0)|评价(0)|浏览(72)

本文整理了Java中org.modeshape.jcr.RepositoryConfiguration.getAllWorkspaceNames方法的一些代码示例,展示了RepositoryConfiguration.getAllWorkspaceNames的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RepositoryConfiguration.getAllWorkspaceNames方法的具体详情如下:
包路径:org.modeshape.jcr.RepositoryConfiguration
类名称:RepositoryConfiguration
方法名:getAllWorkspaceNames

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();

相关文章

微信公众号

最新文章

更多