public class BackingServiceConfigurator extends Object
Modifier and Type | Field and Description |
---|---|
protected Set<BackingChecker> |
checkers |
protected ConfigurationGenerator |
configurationGenerator |
protected static String |
JAR_EXTENSION |
protected static org.apache.commons.logging.Log |
log |
static String |
PARAM_CHECK_CLASSPATH_SUFFIX |
static String |
PARAM_CHECK_SUFFIX |
static String |
PARAM_POLICY_DEFAULT_DELAY_IN_MS |
static String |
PARAM_RETRY_POLICY_DEFAULT_RETRIES |
static String |
PARAM_RETRY_POLICY_DELAY_IN_MS |
static String |
PARAM_RETRY_POLICY_ENABLED |
static String |
PARAM_RETRY_POLICY_MAX_RETRIES |
Constructor and Description |
---|
BackingServiceConfigurator(ConfigurationGenerator configurationGenerator) |
Modifier and Type | Method and Description |
---|---|
protected net.jodah.failsafe.RetryPolicy |
buildRetryPolicy() |
protected Collection<BackingChecker> |
getCheckers() |
protected Optional<URLClassLoader> |
getClassLoaderForTemplate(File templateDir,
String classPath)
Build a ClassLoader based on the classpath definition of a template.
|
void |
verifyInstallation()
Calls all BackingChecker if they accept the current configuration.
|
protected static final org.apache.commons.logging.Log log
public static final String PARAM_RETRY_POLICY_ENABLED
public static final String PARAM_RETRY_POLICY_MAX_RETRIES
public static final String PARAM_RETRY_POLICY_DELAY_IN_MS
public static final String PARAM_POLICY_DEFAULT_DELAY_IN_MS
public static final String PARAM_RETRY_POLICY_DEFAULT_RETRIES
public static final String PARAM_CHECK_CLASSPATH_SUFFIX
public static final String PARAM_CHECK_SUFFIX
protected static final String JAR_EXTENSION
protected Set<BackingChecker> checkers
protected ConfigurationGenerator configurationGenerator
public BackingServiceConfigurator(ConfigurationGenerator configurationGenerator)
public void verifyInstallation() throws ConfigurationException
ConfigurationException
protected net.jodah.failsafe.RetryPolicy buildRetryPolicy()
protected Collection<BackingChecker> getCheckers() throws ConfigurationException
ConfigurationException
protected Optional<URLClassLoader> getClassLoaderForTemplate(File templateDir, String classPath) throws ConfigurationException, IOException
ConfigurationException
IOException
Copyright © 2018 Nuxeo. All rights reserved.