public class DefaultSharedContext extends Object implements SharedContext
| Modifier and Type | Field and Description |
|---|---|
protected CodecRegistry |
codecRegistry |
protected List<String> |
defaultStoredStrings |
protected static List<String> |
JAVA_DEFAULT_STORED_STRINGS |
protected Reflection |
reflection |
| Constructor and Description |
|---|
DefaultSharedContext() |
DefaultSharedContext(CodecRegistry codecRegistry) |
DefaultSharedContext(CodecRegistry codecRegistry,
ClassLoader classLoader) |
DefaultSharedContext(CodecRegistry codecRegistry,
ClassLoader classLoader,
List<String> defaultStoredStrings) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlias(String className) |
CodecRegistry |
getCodecRegistry() |
List<String> |
getDefaultStoredStrings() |
Reflection |
getReflection() |
protected static List<String> JAVA_DEFAULT_STORED_STRINGS
protected final CodecRegistry codecRegistry
protected final Reflection reflection
protected final List<String> defaultStoredStrings
public DefaultSharedContext()
public DefaultSharedContext(CodecRegistry codecRegistry)
public DefaultSharedContext(CodecRegistry codecRegistry, ClassLoader classLoader)
public DefaultSharedContext(CodecRegistry codecRegistry, ClassLoader classLoader, List<String> defaultStoredStrings)
public CodecRegistry getCodecRegistry()
getCodecRegistry in interface SharedContextpublic Reflection getReflection()
getReflection in interface SharedContextpublic List<String> getDefaultStoredStrings()
getDefaultStoredStrings in interface SharedContextpublic String getAlias(String className)
getAlias in interface SharedContext