Class StoreDescriptorsRegistry

java.lang.Object
io.jmix.core.impl.StoreDescriptorsRegistry

@Component("core_StoreDescriptorsRegistry") public class StoreDescriptorsRegistry extends Object
Resolves descriptors of data stores
  • Field Details

    • undefinedStoreDescriptor

      @Autowired protected UndefinedStoreDescriptor undefinedStoreDescriptor
    • jpaStoreDescriptor

      @Autowired protected JpaStoreDescriptor jpaStoreDescriptor
    • noopStoreDescriptor

      @Autowired protected NoopStoreDescriptor noopStoreDescriptor
    • descriptors

      @Autowired protected Map<String,StoreDescriptor> descriptors
    • environment

      @Autowired protected org.springframework.core.env.Environment environment
    • SPLITTER

      protected static final com.google.common.base.Splitter SPLITTER
  • Constructor Details

    • StoreDescriptorsRegistry

      public StoreDescriptorsRegistry()
  • Method Details

    • initialize

      @PostConstruct protected void initialize()
    • getStoreDescriptor

      public StoreDescriptor getStoreDescriptor(String storeName)
    • initMainStoreDescriptor

      protected void initMainStoreDescriptor()
    • initUndefinedStoreDescriptor

      protected void initUndefinedStoreDescriptor()
    • initNoopStoreDescriptor

      protected void initNoopStoreDescriptor()
    • initAdditionalStoreDescriptor

      protected void initAdditionalStoreDescriptor(String storeName)
    • initStoreDescriptor

      protected void initStoreDescriptor(String storeName, StoreDescriptor defaultStoreDescriptor)
    • resolveStoreDescriptor

      @Nullable protected StoreDescriptor resolveStoreDescriptor(String storeName)
    • getAdditionalDataStoreNames

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