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