Class UinGeneratorImpl
- java.lang.Object
-
- io.mosip.kernel.uingenerator.generator.UinGeneratorImpl
-
- All Implemented Interfaces:
UinGenerator
@Component public class UinGeneratorImpl extends Object implements UinGenerator
This class generates a list of uins- Since:
- 1.0.0
- Author:
- Dharmesh Khandelwal
-
-
Constructor Summary
Constructors Constructor Description UinGeneratorImpl(long uinsCount, int uinLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgenerateId(long noOfUINToGenerate)
-
-
-
Constructor Detail
-
UinGeneratorImpl
public UinGeneratorImpl(@Value("${mosip.kernel.uin.uins-to-generate}") long uinsCount, @Value("${mosip.kernel.uin.length}") int uinLength)- Parameters:
uinsCount- The number of uins to generateuinLength- The length of the uinuinDefaultStatus- The Default value of the uin
-
-
Method Detail
-
generateId
public void generateId(long noOfUINToGenerate)
- Specified by:
generateIdin interfaceUinGenerator
-
-