public static enum MDRepositoryBean.SelectorType extends Enum<MDRepositoryBean.SelectorType>
Enum Constant and Description |
---|
EveryDataSource
Repository instances will be created for every data source.
|
EveryUserRepository
Repository instances will be created for every data source for which user repository exists.
|
List
Repository instances will be created for default data source and for data sources listed in configuration.
|
Modifier and Type | Method and Description |
---|---|
static MDRepositoryBean.SelectorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MDRepositoryBean.SelectorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MDRepositoryBean.SelectorType List
public static final MDRepositoryBean.SelectorType EveryDataSource
public static final MDRepositoryBean.SelectorType EveryUserRepository
public static MDRepositoryBean.SelectorType[] values()
for (MDRepositoryBean.SelectorType c : MDRepositoryBean.SelectorType.values()) System.out.println(c);
public static MDRepositoryBean.SelectorType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2004–2019 "Tigase, Inc.". All rights reserved.