Package io.jmix.core

Class Stores

java.lang.Object
io.jmix.core.Stores

@Component("core_Stores") public class Stores extends Object
Utility class for accessing registered data store names.
  • Field Details

  • Constructor Details

    • Stores

      public Stores()
  • Method Details

    • initialize

      @PostConstruct protected void initialize()
    • getStoreDescriptor

      @Nullable protected StoreDescriptor getStoreDescriptor(String storeName)
    • isMain

      public static boolean isMain(String name)
      Returns:
      true if the given name is the name of the main data store
    • get

      public Store get(String name)
    • getAll

      public List<String> getAll()
      Returns:
      the list of all data store names including main
      See Also:
    • getAdditional

      public List<String> getAdditional()
      Returns:
      the list of additional data store names registered in the jmix.core.additional-stores property