Package io.jmix.core
Class Stores
java.lang.Object
io.jmix.core.Stores
Utility class for accessing registered data store names.
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected StoreDescriptorsRegistry
protected org.springframework.core.env.Environment
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
-
Field Details
-
MAIN
- See Also:
-
NOOP
- See Also:
-
UNDEFINED
- See Also:
-
environment
@Autowired protected org.springframework.core.env.Environment environment -
applicationContext
@Autowired protected org.springframework.context.ApplicationContext applicationContext -
descriptorsRegistry
-
stores
-
-
Constructor Details
-
Stores
public Stores()
-
-
Method Details
-
initialize
@PostConstruct protected void initialize() -
isMain
- Returns:
- true if the given name is the name of the main data store
-
get
-
getAll
- Returns:
- the list of all data store names including main
- See Also:
-
getAdditional
- Returns:
- the list of additional data store names registered in the
jmix.core.additional-stores
property
-