// FIXME: ALR: This shouldn't be hardcoded; configuration needs reworking
if (cacheValue.equals("SimpleStatefulCache"))
{
if (!ejbClass.isAnnotationPresent(PersistenceManager.class))
{
PersistenceManagerImpl persistenceAnnotation = new PersistenceManagerImpl();
if (config.getPersistenceManager() != null)
{
persistenceAnnotation.setValue(config.getPersistenceManager());
}
addClassAnnotation(container, PersistenceManager.class, persistenceAnnotation);
}
}
}