Uses of Class
org.nuxeo.launcher.config.ConfigurationHolder
Package
Description
Nuxeo configuration management.
Used for communication between LocalPackageManager and the Launcher (messages serialization).
-
Uses of ConfigurationHolder in org.nuxeo.ecm.core.storage
Modifier and TypeMethodDescriptionboolean
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
Modifier and TypeMethodDescriptionboolean
MongoDBChecker.accepts
(ConfigurationHolder configHolder) void
MongoDBChecker.check
(ConfigurationHolder configHolder) -
Uses of ConfigurationHolder in org.nuxeo.elasticsearch
Modifier and TypeMethodDescriptionboolean
ElasticSearchChecker.accepts
(ConfigurationHolder configHolder) void
ElasticSearchChecker.check
(ConfigurationHolder configHolder) -
Uses of ConfigurationHolder in org.nuxeo.launcher.config
Modifier and TypeMethodDescriptionConfigurationGenerator.getConfigurationHolder()
Returns theConfigurationHolder
held by the generator.Modifier and TypeMethodDescriptionprotected net.jodah.failsafe.RetryPolicy<Object>
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) 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
Modifier and TypeMethodDescriptionboolean
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
Modifier and TypeMethodDescriptionprotected 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
Modifier and TypeMethodDescriptionboolean
KafkaChecker.accepts
(ConfigurationHolder configHolder) void
KafkaChecker.check
(ConfigurationHolder configHolder)