Package io.jmix.pessimisticlock.impl
Class AnnotationLockDescriptorProvider
java.lang.Object
io.jmix.pessimisticlock.impl.AnnotationLockDescriptorProvider
- All Implemented Interfaces:
LockDescriptorProvider
@Component("pslock_AnnotationLockDescriptorProvider")
public class AnnotationLockDescriptorProvider
extends Object
implements LockDescriptorProvider
The
AnnotationLockDescriptorProvider
creates and collects
LockDescriptor
objects for locks annotated by PessimisticLock
annotation from data model objects.-
Field Summary
Modifier and TypeFieldDescriptionprotected final ExtendedEntities
protected final Metadata
protected final MetadataTools
protected final io.micrometer.core.instrument.MeterRegistry
-
Constructor Summary
ConstructorDescriptionAnnotationLockDescriptorProvider
(ExtendedEntities extendedEntities, MetadataTools metadataTools, Metadata metadata, io.micrometer.core.instrument.MeterRegistry meterRegistry) -
Method Summary
-
Field Details
-
extendedEntities
-
metadataTools
-
metadata
-
meterRegistry
protected final io.micrometer.core.instrument.MeterRegistry meterRegistry
-
-
Constructor Details
-
AnnotationLockDescriptorProvider
public AnnotationLockDescriptorProvider(ExtendedEntities extendedEntities, MetadataTools metadataTools, Metadata metadata, io.micrometer.core.instrument.MeterRegistry meterRegistry)
-
-
Method Details
-
getLockDescriptors
- Specified by:
getLockDescriptors
in interfaceLockDescriptorProvider
-