Class HekateLockServiceConfigurer

    • Constructor Detail

      • HekateLockServiceConfigurer

        public HekateLockServiceConfigurer​(Optional<List<LockRegionConfig>> regions)
        Constructs new instance.
        Parameters:
        regions - LockRegionConfigs that were found in the application context.
    • Method Detail

      • lockServiceFactory

        @Bean
        @ConfigurationProperties(prefix="hekate.locks")
        public LockServiceFactory lockServiceFactory()
        Constructs the LockServiceFactory.
        Returns:
        Service factory.
      • lockService

        @Lazy
        @Bean
        public LockServiceBean lockService()
        Returns the factory bean that makes it possible to inject LockService directly into other beans instead of accessing it via Hekate.locks() method.
        Returns:
        Service bean.