Authentication authentication = beanFactory.findAnnotationOnBean(beanName, Authentication.class);
if (authentication == null) {
authentication = getDefaultAuthenticationAnnotation();
}
handleAuthenticationAnnotation(authentication, beanName, description);
Transaction transaction = beanFactory.findAnnotationOnBean(beanName, Transaction.class);
if (transaction == null) {
transaction = getDefaultTransactionAnnotation();
}
handleTransactionAnnotation(transaction, beanName, description);
Cache cache = beanFactory.findAnnotationOnBean(beanName, Cache.class);