public class DefaultSharedContext extends java.lang.Object implements SharedContext
| Modifier and Type | Field and Description |
|---|---|
protected AliasRegistry |
aliasRegistry |
protected CodecRegistry |
codecRegistry |
protected java.util.List<java.lang.String> |
initialClassNameDictionary |
protected static java.util.List<java.lang.String> |
JAVA_DEFAULT_CLASS_NAMES |
protected Reflection |
reflection |
| Constructor and Description |
|---|
DefaultSharedContext() |
DefaultSharedContext(CodecRegistry codecRegistry) |
DefaultSharedContext(CodecRegistry codecRegistry,
java.util.List<java.lang.String> defaultClassNames) |
DefaultSharedContext(CodecRegistry codecRegistry,
java.util.List<java.lang.String> defaultClassNames,
Reflection reflection,
AliasRegistry aliasRegistry) |
| Modifier and Type | Method and Description |
|---|---|
AliasRegistry |
getAliasRegistry() |
java.lang.String |
getClassName(java.lang.String remoteAlias) |
CodecRegistry |
getCodecRegistry() |
java.util.List<java.lang.String> |
getInitialClassNameDictionary() |
Reflection |
getReflection() |
java.lang.String |
getRemoteAlias(java.lang.String className) |
protected static java.util.List<java.lang.String> JAVA_DEFAULT_CLASS_NAMES
protected final CodecRegistry codecRegistry
protected final Reflection reflection
protected final java.util.List<java.lang.String> initialClassNameDictionary
protected final AliasRegistry aliasRegistry
public DefaultSharedContext()
public DefaultSharedContext(CodecRegistry codecRegistry)
public DefaultSharedContext(CodecRegistry codecRegistry, java.util.List<java.lang.String> defaultClassNames)
public DefaultSharedContext(CodecRegistry codecRegistry, java.util.List<java.lang.String> defaultClassNames, Reflection reflection, AliasRegistry aliasRegistry)
public CodecRegistry getCodecRegistry()
getCodecRegistry in interface SharedContextpublic Reflection getReflection()
getReflection in interface SharedContextpublic java.util.List<java.lang.String> getInitialClassNameDictionary()
getInitialClassNameDictionary in interface SharedContextpublic AliasRegistry getAliasRegistry()
getAliasRegistry in interface SharedContextpublic java.lang.String getRemoteAlias(java.lang.String className)
getRemoteAlias in interface SharedContextpublic java.lang.String getClassName(java.lang.String remoteAlias)
getClassName in interface SharedContext