Class CosIdGeneratorRegistrar.GeneratorBean<T>
java.lang.Object
me.ahoo.cosid.spring.autoconfigure.CosIdGeneratorRegistrar.GeneratorBean<T>
- Type Parameters:
T- the bean type:IdGenerator,PartsIdGenerator,GroupedIdGeneratororUuidV7Generator
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<T>
- Enclosing class:
CosIdGeneratorRegistrar
public static final class CosIdGeneratorRegistrar.GeneratorBean<T>
extends Object
implements org.springframework.beans.factory.FactoryBean<T>
The bean of one generator: the runtime's view of it by the bean type, which counts the ids when
cosid.metrics.generated.enabled is on. A disabled generator's bean throws GeneratorDisabledException on
each call (D24).-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
ConstructorsConstructorDescriptionGeneratorBean(me.ahoo.cosid.runtime.CosIdRuntime runtime, String name, Class<T> type) A generator bean. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
GeneratorBean
A generator bean.- Parameters:
runtime- the runtimename- the generator nametype- the bean type
-
-
Method Details