本文整理了Java中org.modeshape.jcr.RepositoryConfiguration.readComponents
方法的一些代码示例,展示了RepositoryConfiguration.readComponents
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RepositoryConfiguration.readComponents
方法的具体详情如下:
包路径:org.modeshape.jcr.RepositoryConfiguration
类名称:RepositoryConfiguration
方法名:readComponents
暂无
代码示例来源:origin: org.fcrepo/modeshape-jcr
/**
* Get the ordered list of sequencers. All sequencers are configured with this list.
*
* @param problems the container for problems reading the sequencer information; may not be null
*/
protected void validateSequencers( Problems problems ) {
readComponents(sequencing, FieldName.SEQUENCERS, FieldName.CLASSNAME, SEQUENCER_ALIASES, problems);
}
}
代码示例来源:origin: ModeShape/modeshape
/**
* Get the ordered list of text extractors. All text extractors are configured with this list.
*
* @param problems the container with which should be recorded any problems during component initialization
* @return the immutable list of text extractors; never null but possibly empty
*/
protected List<Component> getTextExtractors( Problems problems ) {
return readComponents(textExtracting, FieldName.EXTRACTORS, FieldName.CLASSNAME, EXTRACTOR_ALIASES, problems);
}
代码示例来源:origin: ModeShape/modeshape
/**
* Get the ordered list of sequencers. All sequencers are configured with this list.
*
* @param problems the container for problems reading the sequencer information; may not be null
*/
protected void validateSequencers( Problems problems ) {
readComponents(sequencing, FieldName.SEQUENCERS, FieldName.CLASSNAME, SEQUENCER_ALIASES, problems);
}
}
代码示例来源:origin: org.fcrepo/modeshape-jcr
/**
* Get the ordered list of text extractors. All text extractors are configured with this list.
*
* @param problems the container with which should be recorded any problems during component initialization
* @return the immutable list of text extractors; never null but possibly empty
*/
protected List<Component> getTextExtractors( Problems problems ) {
return readComponents(textExtracting, FieldName.EXTRACTORS, FieldName.CLASSNAME, EXTRACTOR_ALIASES, problems);
}
代码示例来源:origin: ModeShape/modeshape
protected void validateTextExtractors( Problems problems ) {
readComponents(textExtracting, FieldName.EXTRACTORS, FieldName.CLASSNAME, EXTRACTOR_ALIASES, problems);
}
}
代码示例来源:origin: org.fcrepo/modeshape-jcr
protected void validateIndexProviders( Problems problems ) {
readComponents(doc, FieldName.INDEX_PROVIDERS, FieldName.CLASSNAME, PROVIDER_ALIASES, problems);
}
代码示例来源:origin: ModeShape/modeshape
protected void validateIndexProviders( Problems problems ) {
readComponents(doc, FieldName.INDEX_PROVIDERS, FieldName.CLASSNAME, PROVIDER_ALIASES, problems);
}
代码示例来源:origin: org.fcrepo/modeshape-jcr
protected void validateTextExtractors( Problems problems ) {
readComponents(textExtracting, FieldName.EXTRACTORS, FieldName.CLASSNAME, EXTRACTOR_ALIASES, problems);
}
}
代码示例来源:origin: org.fcrepo/modeshape-jcr
protected void validateCustomProviders( Problems problems ) {
readComponents(security, FieldName.PROVIDERS, FieldName.CLASSNAME, PROVIDER_ALIASES, problems);
}
代码示例来源:origin: org.fcrepo/modeshape-jcr
protected List<Component> getSequencers( Problems problems ) {
return readComponents(sequencing, FieldName.SEQUENCERS, FieldName.CLASSNAME, SEQUENCER_ALIASES, problems);
}
代码示例来源:origin: org.fcrepo/modeshape-jcr
protected List<Component> getCustomProviders( Problems problems ) {
return readComponents(security, FieldName.PROVIDERS, FieldName.CLASSNAME, PROVIDER_ALIASES, problems);
}
代码示例来源:origin: ModeShape/modeshape
protected List<Component> getCustomProviders( Problems problems ) {
return readComponents(security, FieldName.PROVIDERS, FieldName.CLASSNAME, PROVIDER_ALIASES, problems);
}
代码示例来源:origin: ModeShape/modeshape
protected void validateCustomProviders( Problems problems ) {
readComponents(security, FieldName.PROVIDERS, FieldName.CLASSNAME, PROVIDER_ALIASES, problems);
}
代码示例来源:origin: ModeShape/modeshape
protected List<Component> getSequencers( Problems problems ) {
return readComponents(sequencing, FieldName.SEQUENCERS, FieldName.CLASSNAME, SEQUENCER_ALIASES, problems);
}
代码示例来源:origin: ModeShape/modeshape
/**
* Get the list of connector configurations.
*
* @param problems the container with which should be recorded any problems during component initialization
* @return the immutable list of connectors; never null but possibly empty
*/
public List<Component> getConnectors(Problems problems) {
List<Component> components = readComponents(federation, FieldName.EXTERNAL_SOURCES, FieldName.CLASSNAME,
CONNECTOR_ALIASES, problems);
assert !problems.hasErrors();
return components;
}
代码示例来源:origin: org.fcrepo/modeshape-jcr
/**
* Get the list of connector configurations.
*
* @param problems the container with which should be recorded any problems during component initialization
* @return the immutable list of connectors; never null but possibly empty
*/
public List<Component> getConnectors(Problems problems) {
List<Component> components = readComponents(federation, FieldName.EXTERNAL_SOURCES, FieldName.CLASSNAME,
CONNECTOR_ALIASES, problems);
assert !problems.hasErrors();
return components;
}
代码示例来源:origin: org.fcrepo/modeshape-jcr
/**
* Get the ordered list of index providers defined in the configuration.
*
* @return the immutable list of provider components; never null but possibly empty
*/
public List<Component> getIndexProviders() {
Problems problems = new SimpleProblems();
List<Component> components = readComponents(doc, FieldName.INDEX_PROVIDERS, FieldName.CLASSNAME, INDEX_PROVIDER_ALIASES,
problems);
assert !problems.hasErrors();
return components;
}
代码示例来源:origin: ModeShape/modeshape
/**
* Get the ordered list of index providers defined in the configuration.
*
* @return the immutable list of provider components; never null but possibly empty
*/
public List<Component> getIndexProviders() {
Problems problems = new SimpleProblems();
List<Component> components = readComponents(doc, FieldName.INDEX_PROVIDERS, FieldName.CLASSNAME, INDEX_PROVIDER_ALIASES,
problems);
assert !problems.hasErrors();
return components;
}
内容来源于网络,如有侵权,请联系作者删除!