public enum BootstrapMode extends Enum<BootstrapMode>
RepositoryConfigurationSource.getBootstrapMode()
Enum Constant and Description |
---|
DEFAULT
Repository proxies are instantiated eagerly, just like any other Spring bean, except explicitly marked as lazy.
|
DEFERRED
Repository bean definitions are considered lazy and clients will get repository proxies injected that will
initialize on first access.
|
LAZY
Repository bean definitions are considered lazy, lazily inject and only initialized on first use, i.e. the
application might have fully started without the repositories initialized.
|
Modifier and Type | Method and Description |
---|---|
static BootstrapMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BootstrapMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BootstrapMode DEFAULT
public static final BootstrapMode DEFERRED
public static final BootstrapMode LAZY
public static BootstrapMode[] values()
for (BootstrapMode c : BootstrapMode.values()) System.out.println(c);
public static BootstrapMode 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 © 2011–2019 Pivotal Software, Inc.. All rights reserved.