Package org.redisson.config
Class ConfigSupport
java.lang.Object
org.redisson.config.ConfigSupport
- Author:
- Nikita Koksharov
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected final com.fasterxml.jackson.databind.ObjectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConnectionManager
createConnectionManager
(Config configCopy) <T> T
<T> T
fromJSON
(File file, Class<T> configType, ClassLoader classLoader) <T> T
fromJSON
(InputStream inputStream, Class<T> configType) <T> T
<T> T
<T> T
<T> T
<T> T
fromYAML
(File file, Class<T> configType, ClassLoader classLoader) <T> T
fromYAML
(InputStream inputStream, Class<T> configType) <T> T
<T> T
<T> T
-
Field Details
-
jsonMapper
protected final com.fasterxml.jackson.databind.ObjectMapper jsonMapper -
yamlMapper
protected final com.fasterxml.jackson.databind.ObjectMapper yamlMapper
-
-
Constructor Details
-
ConfigSupport
public ConfigSupport()
-
-
Method Details
-
fromJSON
- Throws:
IOException
-
fromJSON
- Throws:
IOException
-
fromJSON
- Throws:
IOException
-
fromJSON
- Throws:
IOException
-
fromJSON
- Throws:
IOException
-
fromJSON
- Throws:
IOException
-
toJSON
- Throws:
IOException
-
fromYAML
- Throws:
IOException
-
fromYAML
- Throws:
IOException
-
fromYAML
- Throws:
IOException
-
fromYAML
- Throws:
IOException
-
fromYAML
- Throws:
IOException
-
fromYAML
- Throws:
IOException
-
toYAML
- Throws:
IOException
-
createConnectionManager
-