Skip to content

Commit

Permalink
Allow for overriding of computeTransactionAttribute
Browse files Browse the repository at this point in the history
Issue: SPR-13246
  • Loading branch information
jhoeller committed Jul 17, 2015
1 parent 9de824b commit a8fb551
Showing 1 changed file with 2 additions and 2 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2014 the original author or authors.
* Copyright 2002-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -131,7 +131,7 @@ protected Object getCacheKey(Method method, Class<?> targetClass) {
* {@link #getTransactionAttribute} is effectively a caching decorator for this method.
* @see #getTransactionAttribute
*/
private TransactionAttribute computeTransactionAttribute(Method method, Class<?> targetClass) {
protected TransactionAttribute computeTransactionAttribute(Method method, Class<?> targetClass) {
// Don't allow no-public methods as required.
if (allowPublicMethodsOnly() && !Modifier.isPublic(method.getModifiers())) {
return null;
Expand Down

0 comments on commit a8fb551

Please sign in to comment.