Class SchemaGenerator


  • @Context
    @Internal
    public class SchemaGenerator
    extends java.lang.Object
    Schema generator used for testing purposes.
    • Constructor Summary

      Constructors 
      Constructor Description
      SchemaGenerator​(java.util.List<DataJdbcConfiguration> configurations)
      Constructors a schema generator for the given configurations.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void createSchema​(io.micronaut.context.BeanLocator beanLocator)
      Initialize the schema for the configuration.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SchemaGenerator

        public SchemaGenerator​(java.util.List<DataJdbcConfiguration> configurations)
        Constructors a schema generator for the given configurations.
        Parameters:
        configurations - The configurations
    • Method Detail

      • createSchema

        @PostConstruct
        public void createSchema​(io.micronaut.context.BeanLocator beanLocator)
        Initialize the schema for the configuration.
        Parameters:
        beanLocator - The bean locator