Class SegmentIdBeanRegistrar
java.lang.Object
me.ahoo.cosid.spring.boot.starter.segment.SegmentIdBeanRegistrar
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
public class SegmentIdBeanRegistrar
extends Object
implements org.springframework.beans.factory.InitializingBean
-
Constructor Summary
ConstructorDescriptionSegmentIdBeanRegistrar
(CosIdProperties cosIdProperties, SegmentIdProperties segmentIdProperties, IdSegmentDistributorFactory distributorFactory, IdGeneratorProvider idGeneratorProvider, PrefetchWorkerExecutorService prefetchWorkerExecutorService, org.springframework.context.ConfigurableApplicationContext applicationContext, CustomizeSegmentIdProperties customizeSegmentIdProperties) -
Method Summary
-
Constructor Details
-
SegmentIdBeanRegistrar
public SegmentIdBeanRegistrar(CosIdProperties cosIdProperties, SegmentIdProperties segmentIdProperties, IdSegmentDistributorFactory distributorFactory, IdGeneratorProvider idGeneratorProvider, PrefetchWorkerExecutorService prefetchWorkerExecutorService, org.springframework.context.ConfigurableApplicationContext applicationContext, @Nullable CustomizeSegmentIdProperties customizeSegmentIdProperties)
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
register
public void register()
-