public class DefaultSharedContext extends Object implements SharedContext
| Modifier and Type | Field and Description |
|---|---|
protected AliasRegistry |
aliasRegistry |
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,
List<String> defaultStoredStrings) |
DefaultSharedContext(CodecRegistry codecRegistry,
List<String> defaultStoredStrings,
Reflection reflection,
AliasRegistry aliasRegistry) |
| Modifier and Type | Method and Description |
|---|---|
AliasRegistry |
getAliasRegistry() |
String |
getClassName(String remoteAlias) |
CodecRegistry |
getCodecRegistry() |
List<String> |
getDefaultStoredStrings() |
Reflection |
getReflection() |
String |
getRemoteAlias(String className) |
protected static List<String> JAVA_DEFAULT_STORED_STRINGS
protected final CodecRegistry codecRegistry
protected final Reflection reflection
protected final List<String> defaultStoredStrings
protected final AliasRegistry aliasRegistry
public DefaultSharedContext()
public DefaultSharedContext(CodecRegistry codecRegistry)
public DefaultSharedContext(CodecRegistry codecRegistry, List<String> defaultStoredStrings)
public DefaultSharedContext(CodecRegistry codecRegistry, List<String> defaultStoredStrings, Reflection reflection, AliasRegistry aliasRegistry)
public CodecRegistry getCodecRegistry()
getCodecRegistry in interface SharedContextpublic Reflection getReflection()
getReflection in interface SharedContextpublic List<String> getDefaultStoredStrings()
getDefaultStoredStrings 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