Interface DataInitializer

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

public interface DataInitializer extends org.springframework.core.Ordered
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
    Initialize seed data for the application.

    Methods inherited from interface org.springframework.core.Ordered

    getOrder
  • Method Details

    • initialize

      void initialize()
      Initialize seed data for the application.