java.lang.Object
pro.chenggang.project.reactive.mybatis.support.generator.core.context.ContextGeneratorFactory

public class ContextGeneratorFactory extends Object
The Context Generator configuration factory.
Version:
1.0.0
Author:
Gang Cheng
  • Constructor Details

    • ContextGeneratorFactory

      public ContextGeneratorFactory()
  • Method Details

    • registerContextGenerator

      public void registerContextGenerator(ContextGenerator contextGenerator)
      Register context generator.
      Parameters:
      contextGenerator - the context generator
    • getContextGenerator

      public Optional<ContextGenerator> getContextGenerator(GeneratorType generatorType)
      get context generator
      Parameters:
      generatorType - the generator type
      Returns:
      the optional ContextGenerator