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 Details

    • extendedEntities

      protected final ExtendedEntities extendedEntities
    • metadataTools

      protected final MetadataTools metadataTools
    • metadata

      protected final Metadata 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