org.jboss.dna.repository
Interface Configurator.Initializer<ReturnType>
- Type Parameters:
ReturnType
- the configurator type returned after the configuration repository is defined
- All Known Implementing Classes:
- DnaConfiguration, DnaConfiguration.Builder, JcrConfiguration
- Enclosing class:
- Configurator<BuilderType>
public static interface Configurator.Initializer<ReturnType>
Interface used to initialize the configurator to use a specific repository containing configuration information.
withConfigurationRepository
Configurator.ChooseClass<RepositorySource,Configurator.ConfigRepositoryDetails<ReturnType>> withConfigurationRepository()
- Specify that this configuration should use a particular
RepositorySource
for its configuration repository. By
default each configuration uses an internal transient repository for its configuration, but using this method will make
the configuration use a different repository (that is perhaps shared with other processes).
- Returns:
- the interface for choosing the class, which returns the interface used to configure the repository source that
will be used for the configuration repository; never null
Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.