|
|
|
@ -1,5 +1,5 @@ |
|
|
|
/* |
|
|
|
/* |
|
|
|
* Copyright 2002-2012 the original author or authors. |
|
|
|
* Copyright 2002-2014 the original author or authors. |
|
|
|
* |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -1272,6 +1272,7 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran |
|
|
|
this.logger = LogFactory.getLog(getClass()); |
|
|
|
this.logger = LogFactory.getLog(getClass()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Holder for suspended resources. |
|
|
|
* Holder for suspended resources. |
|
|
|
* Used internally by {@code suspend} and {@code resume}. |
|
|
|
* Used internally by {@code suspend} and {@code resume}. |
|
|
|
@ -1279,10 +1280,15 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran |
|
|
|
protected static class SuspendedResourcesHolder { |
|
|
|
protected static class SuspendedResourcesHolder { |
|
|
|
|
|
|
|
|
|
|
|
private final Object suspendedResources; |
|
|
|
private final Object suspendedResources; |
|
|
|
|
|
|
|
|
|
|
|
private List<TransactionSynchronization> suspendedSynchronizations; |
|
|
|
private List<TransactionSynchronization> suspendedSynchronizations; |
|
|
|
|
|
|
|
|
|
|
|
private String name; |
|
|
|
private String name; |
|
|
|
|
|
|
|
|
|
|
|
private boolean readOnly; |
|
|
|
private boolean readOnly; |
|
|
|
|
|
|
|
|
|
|
|
private Integer isolationLevel; |
|
|
|
private Integer isolationLevel; |
|
|
|
|
|
|
|
|
|
|
|
private boolean wasActive; |
|
|
|
private boolean wasActive; |
|
|
|
|
|
|
|
|
|
|
|
private SuspendedResourcesHolder(Object suspendedResources) { |
|
|
|
private SuspendedResourcesHolder(Object suspendedResources) { |
|
|
|
|