public void setCharacterCache(String chars) {
cbuffer=chars;
if(CACHE_CHANNELS) {
// try to obtain rendering from cache
if(channel instanceof ICacheable ) {
final CacheFactory cacheFactory = CacheFactoryLocator.getCacheFactory();
final Map<Serializable, ChannelCacheEntry> systemCache = cacheFactory.getCache(SYSTEM_WIDE_CHANNEL_CACHE);
ChannelCacheKey key=((ICacheable)channel).generateKey();
if(key!=null) {
if (log.isDebugEnabled()) {
log.debug("setCharacterCache() : called on a key \""+key.getKey()+"\"");
}