Class LockRegionBean

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.FactoryBean<LockRegion>, org.springframework.beans.factory.InitializingBean

    public class LockRegionBean
    extends HekateBaseBean<LockRegion>
    implements org.springframework.beans.factory.InitializingBean
    Imports LockRegion into a Spring context.
    • Constructor Detail

      • LockRegionBean

        public LockRegionBean()
    • Method Detail

      • getObjectType

        public Class<LockRegion> getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean<LockRegion>
      • getRegion

        public String getRegion()
        Returns the lock region name (see setRegion(String)).
        Returns:
        Lock region name.
      • setRegion

        public void setRegion​(String region)
        Sets the name of a lock region that should imported into a Spring context.
        Parameters:
        region - Lock region name.
        See Also:
        LockRegionConfig.setName(String)
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception