Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ private static boolean isLob(SimpleValue value) {
return false;
}

public static class DomainModelScopeImpl implements DomainModelScope, ExtensionContext.Store.CloseableResource {
public static class DomainModelScopeImpl implements DomainModelScope, AutoCloseable {
private final ServiceRegistryScope serviceRegistryScope;
private final DomainModelProducer producer;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ public void handleTestExecutionException(ExtensionContext context, Throwable thr
throw throwable;
}

private static class ServiceRegistryScopeImpl implements ServiceRegistryScope, ExtensionContext.Store.CloseableResource {
private static class ServiceRegistryScopeImpl implements ServiceRegistryScope, AutoCloseable {
private BootstrapServiceRegistryProducer bsrProducer;
private ServiceRegistryProducer ssrProducer;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public void handleTestExecutionException(ExtensionContext context, Throwable thr
throw throwable;
}

private static class SessionFactoryScopeImpl implements SessionFactoryScope, ExtensionContext.Store.CloseableResource {
private static class SessionFactoryScopeImpl implements SessionFactoryScope, AutoCloseable {
private final DomainModelScope modelScope;
private final SessionFactoryProducer producer;

Expand Down