if (this.cache != null && this.cache.isStarted())
{
return;
}
Cache cacheConfig = getAnnotation(Cache.class);
CacheFactoryRegistry registry = getCacheFactoryRegistry();
Ejb3CacheFactory factory = registry.getCacheFactory(cacheConfig.value());
this.cache = factory.createCache();
this.cache.initialize(this);
this.cache.start();
}