{
CacheConfigMetaData config = enterpriseBean.getCacheConfig();
if (config.getValue() != null && !config.getValue().equals(""))
{
String cacheValue = config.getValue();
CacheImpl cacheAnnotation = new CacheImpl(cacheValue);
addClassAnnotation(container, Cache.class, cacheAnnotation);
// FIXME: Wolf: what the hell is this?
// FIXME: ALR: This shouldn't be hardcoded; configuration needs reworking
if (cacheValue.equals("SimpleStatefulCache"))