HHH-8241 Reusing of scanner instance is impossible with Apache Aries JPA

This commit is contained in:
Brett Meyer 2013-05-21 10:49:46 -04:00
parent b282811527
commit 19da1ad211
1 changed files with 7 additions and 5 deletions

View File

@ -200,12 +200,14 @@ public abstract class AbstractScannerImpl implements Scanner {
}
}
private static class ArchiveDescriptorInfo {
private final ArchiveDescriptor archiveDescriptor;
private final boolean isRoot;
private final ScanOptions scanOptions;
// This needs to be protected and attributes/constructor visible in case
// a custom scanner needs to override validateReuse.
protected static class ArchiveDescriptorInfo {
public final ArchiveDescriptor archiveDescriptor;
public final boolean isRoot;
public final ScanOptions scanOptions;
private ArchiveDescriptorInfo(
public ArchiveDescriptorInfo(
ArchiveDescriptor archiveDescriptor,
boolean isRoot,
ScanOptions scanOptions) {