Transaction transaction = beanFactory.findAnnotationOnBean(beanName, Transaction.class);
if (transaction == null) {
transaction = getDefaultTransactionAnnotation();
}
handleTransactionAnnotation(transaction, beanName, description);
Cache cache = beanFactory.findAnnotationOnBean(beanName, Cache.class);
if (cache == null) {
cache = getDefaultCacheAnnotation();
}
handleCacheAnnotation(cache, beanName, description);