org.granite.messaging.jmf
Class DefaultSharedContext

java.lang.Object
  extended by org.granite.messaging.jmf.DefaultSharedContext
All Implemented Interfaces:
SharedContext

public class DefaultSharedContext
extends Object
implements SharedContext

Author:
Franck WOLFF

Field Summary
protected  CodecRegistry codecRegistry
           
protected  List<String> defaultStoredStrings
           
protected static List<String> JAVA_DEFAULT_STORED_STRINGS
           
protected  Reflection reflection
           
 
Constructor Summary
DefaultSharedContext()
           
DefaultSharedContext(CodecRegistry codecRegistry)
           
DefaultSharedContext(CodecRegistry codecRegistry, ClassLoader classLoader)
           
DefaultSharedContext(CodecRegistry codecRegistry, ClassLoader classLoader, List<String> defaultStoredStrings)
           
 
Method Summary
 String getAlias(String className)
           
 CodecRegistry getCodecRegistry()
           
 List<String> getDefaultStoredStrings()
           
 Reflection getReflection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAVA_DEFAULT_STORED_STRINGS

protected static List<String> JAVA_DEFAULT_STORED_STRINGS

codecRegistry

protected final CodecRegistry codecRegistry

reflection

protected final Reflection reflection

defaultStoredStrings

protected final List<String> defaultStoredStrings
Constructor Detail

DefaultSharedContext

public DefaultSharedContext()

DefaultSharedContext

public DefaultSharedContext(CodecRegistry codecRegistry)

DefaultSharedContext

public DefaultSharedContext(CodecRegistry codecRegistry,
                            ClassLoader classLoader)

DefaultSharedContext

public DefaultSharedContext(CodecRegistry codecRegistry,
                            ClassLoader classLoader,
                            List<String> defaultStoredStrings)
Method Detail

getCodecRegistry

public CodecRegistry getCodecRegistry()
Specified by:
getCodecRegistry in interface SharedContext

getReflection

public Reflection getReflection()
Specified by:
getReflection in interface SharedContext

getDefaultStoredStrings

public List<String> getDefaultStoredStrings()
Specified by:
getDefaultStoredStrings in interface SharedContext

getAlias

public String getAlias(String className)
Specified by:
getAlias in interface SharedContext