Package io.jmix.core.impl
Class StoreDescriptorsRegistry
java.lang.Object
io.jmix.core.impl.StoreDescriptorsRegistry
Resolves descriptors of data stores
-
Field Summary
Modifier and TypeFieldDescriptionprotected Map<String,
StoreDescriptor> protected org.springframework.core.env.Environment
protected JpaStoreDescriptor
protected NoopStoreDescriptor
protected static final com.google.common.base.Splitter
protected UndefinedStoreDescriptor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetStoreDescriptor
(String storeName) protected void
initAdditionalStoreDescriptor
(String storeName) protected void
protected void
protected void
protected void
initStoreDescriptor
(String storeName, StoreDescriptor defaultStoreDescriptor) protected void
protected StoreDescriptor
resolveStoreDescriptor
(String storeName)
-
Field Details
-
undefinedStoreDescriptor
-
jpaStoreDescriptor
-
noopStoreDescriptor
-
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
-
initMainStoreDescriptor
protected void initMainStoreDescriptor() -
initUndefinedStoreDescriptor
protected void initUndefinedStoreDescriptor() -
initNoopStoreDescriptor
protected void initNoopStoreDescriptor() -
initAdditionalStoreDescriptor
-
initStoreDescriptor
-
resolveStoreDescriptor
-
getAdditionalDataStoreNames
- Returns:
- the list of additional data store names registered in the
jmix.core.additional-stores
property
-