Uses of Class
org.nuxeo.launcher.config.ConfigurationHolder
-
Packages that use ConfigurationHolder Package Description org.nuxeo.ecm.core.redis org.nuxeo.ecm.core.storage org.nuxeo.ecm.core.storage.mongodb org.nuxeo.elasticsearch org.nuxeo.launcher.config Nuxeo configuration management.org.nuxeo.launcher.config.backingservices org.nuxeo.launcher.info Used for communication between LocalPackageManager and the Launcher (messages serialization).org.nuxeo.runtime.kafka -
-
Uses of ConfigurationHolder in org.nuxeo.ecm.core.redis
Methods in org.nuxeo.ecm.core.redis with parameters of type ConfigurationHolder Modifier and Type Method Description boolean
RedisChecker. accepts(ConfigurationHolder configHolder)
void
RedisChecker. check(ConfigurationHolder configHolder)
-
Uses of ConfigurationHolder in org.nuxeo.ecm.core.storage
Methods in org.nuxeo.ecm.core.storage with parameters of type ConfigurationHolder Modifier and Type Method Description boolean
DBCheck. accepts(ConfigurationHolder configHolder)
void
DBCheck. check(ConfigurationHolder configHolder)
void
DBCheck. checkDatabaseConnection(ConfigurationHolder configHolder)
Check driver availability and database connectionprotected Driver
DBCheck. lookupDriver(ConfigurationHolder configHolder, Path databaseTemplateDir, String classname)
Builds anURLClassLoader
for the given databaseTemplate looking in the templates directory and in the server lib directory, then looks for a driver -
Uses of ConfigurationHolder in org.nuxeo.ecm.core.storage.mongodb
Methods in org.nuxeo.ecm.core.storage.mongodb with parameters of type ConfigurationHolder Modifier and Type Method Description boolean
MongoDBChecker. accepts(ConfigurationHolder configHolder)
void
MongoDBChecker. check(ConfigurationHolder configHolder)
-
Uses of ConfigurationHolder in org.nuxeo.elasticsearch
Methods in org.nuxeo.elasticsearch with parameters of type ConfigurationHolder Modifier and Type Method Description boolean
ElasticSearchChecker. accepts(ConfigurationHolder configHolder)
void
ElasticSearchChecker. check(ConfigurationHolder configHolder)
-
Uses of ConfigurationHolder in org.nuxeo.launcher.config
Methods in org.nuxeo.launcher.config that return ConfigurationHolder Modifier and Type Method Description ConfigurationHolder
ConfigurationGenerator. getConfigurationHolder()
Returns theConfigurationHolder
held by the generator.Methods in org.nuxeo.launcher.config with parameters of type ConfigurationHolder Modifier and Type Method Description protected net.jodah.failsafe.RetryPolicy
ConfigurationChecker. buildRetryPolicy(ConfigurationHolder configHolder)
protected void
ConfigurationChecker. checkAddressesAndPorts(ConfigurationHolder configHolder)
Will check the configured addresses are reachable and Nuxeo required ports are available on those addresses.void
ConfigurationChecker. checkBackingServices(ConfigurationHolder configHolder)
Calls allBackingChecker
if they accept the current configuration.protected void
ConfigurationChecker. checkPaths(ConfigurationHolder configHolder)
Checks server paths; warn if deprecated paths exist.protected void
ConfigurationMarshaller. deleteTemplateFiles(ConfigurationHolder configHolder)
Delete files previously deployed by templates.void
ConfigurationMarshaller. dumpConfiguration(ConfigurationHolder configHolder)
protected void
ConfigurationMarshaller. dumpProperties(ConfigurationHolder configHolder)
protected void
ConfigurationMarshaller. editConfiguratorConf(ConfigurationMarshaller.NuxeoConfContent content, ConfigurationHolder configHolder)
protected void
ConfigurationMarshaller. editUserConf(ConfigurationMarshaller.NuxeoConfContent content, ConfigurationHolder configHolder)
protected URLClassLoader
ConfigurationChecker. getBackingCheckerClassLoader(ConfigurationHolder configHolder, String checker)
Build a ClassLoader based on the classpath definition of a template.protected String
ConfigurationChecker. getBackingCheckerClasspath(ConfigurationHolder configHolder, String template)
Read the classpath parameter from the template and expand parameters with their value.protected InetAddress
ConfigurationChecker. getBindAddress(ConfigurationHolder configHolder)
Checks the userConfig bind address is not 0.0.0.0 and replaces it with 127.0.0.1 if neededprotected String
ConfigurationChecker. getContextName(ConfigurationHolder configHolder)
protected Stream<Path>
ConfigurationChecker. getJarsFromClasspathEntry(ConfigurationHolder configHolder, Path templatePath, String entry)
Given a single classpath entry, return the list of JARs referenced by it.
For instance : nxserver/lib -> ${templatePath}/nxserver/lib /somePath/someLib-*.jarprotected static void
ConfigurationGenerator. initLogsIfNeeded(ConfigurationHolder configHolder)
Initializes log configuration if it doesn't exist.protected List<BackingChecker>
ConfigurationChecker. instantiateBackingCheckers(ConfigurationHolder configHolder)
boolean
ConfigurationChecker. isConfigured(ConfigurationHolder configHolder)
protected void
ConfigurationMarshaller. parseAndCopy(ConfigurationHolder configHolder)
Generate configuration files from templates and given configuration parametersvoid
ConfigurationMarshaller. persistNuxeoConf(ConfigurationHolder configHolder)
protected void
ConfigurationMarshaller. storeNewFilesList(ConfigurationHolder configHolder, List<String> newFilesList)
Store intoConfigurationMarshaller.NEW_FILES
the list of new files deployed by the templates.void
ConfigurationChecker. verify(ConfigurationHolder configHolder)
Verifies that the server is well configured and ready to be started.protected void
ConfigurationMarshaller. writeConfiguration(ConfigurationMarshaller.NuxeoConfContent content, ConfigurationHolder configHolder)
-
Uses of ConfigurationHolder in org.nuxeo.launcher.config.backingservices
Methods in org.nuxeo.launcher.config.backingservices with parameters of type ConfigurationHolder Modifier and Type Method Description boolean
BackingChecker. accepts(ConfigurationHolder configHolder)
Test if the check has to be done for the given configuration.void
BackingChecker. check(ConfigurationHolder configHolder)
Test the availability of the backing service.default <T> T
BackingChecker. getDescriptor(ConfigurationHolder configHolder, String configName, Class<T> klass)
Creates a descriptor instance for the specified file and descriptor class.default <T> T
BackingChecker. getDescriptor(ConfigurationHolder configHolder, String configName, Class<T> klass, Class<?>... klasses)
Creates a descriptor instance for the specified file and descriptor class.default <T> T
BackingChecker. getDescriptor(ConfigurationHolder configHolder, String configName, Class<T> klass, UnaryOperator<String> replacer)
default <T> T
BackingChecker. getDescriptor(ConfigurationHolder configHolder, String configName, Class<T> klass, UnaryOperator<String> replacer, Class<?>... klasses)
Creates a descriptor instance for the specified file and descriptor class. -
Uses of ConfigurationHolder in org.nuxeo.launcher.info
Methods in org.nuxeo.launcher.info with parameters of type ConfigurationHolder Modifier and Type Method Description protected static List<KeyValueInfo>
InstanceInfo. computeKeyVals(ConfigurationHolder configHolder, Set<String> keys)
static InstanceInfo
InstanceInfo. from(ConfigurationHolder configHolder, String clid, List<org.nuxeo.connect.update.LocalPackage> pkgs)
Introspects the server and builds the instance info. -
Uses of ConfigurationHolder in org.nuxeo.runtime.kafka
Methods in org.nuxeo.runtime.kafka with parameters of type ConfigurationHolder Modifier and Type Method Description boolean
KafkaChecker. accepts(ConfigurationHolder configHolder)
void
KafkaChecker. check(ConfigurationHolder configHolder)
-