Interface DataInitializer

All Superinterfaces:
org.springframework.core.Ordered
All Known Implementing Classes:
AdminPermissionDataInitializer, AdminRoleDataInitializer, AdminUserDataInitializer, DefaultMasterGlobalAdminUserDataInitializer

@Deprecated(forRemoval=true, since="1.9.0") public interface DataInitializer extends org.springframework.core.Ordered
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated in favor of liquibase insert pattern (see adminuser.starter.required.data.changelog.xml)
Interface for a component that initializes some seed data on application startup.

The Ordered implementation is useful if one initializer relies on the completion of another.

Author:
Nick Crum (ncrum)
See Also:
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Initialize seed data for the application.

    Methods inherited from interface org.springframework.core.Ordered

    getOrder
  • Method Details

    • initialize

      void initialize()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Initialize seed data for the application.