public enum NoResourceInjector extends Enum<NoResourceInjector> implements ResourceInjector
Enum Constant and Description |
---|
INSTANCE
The singleton NoResourceInjector instance
|
Modifier and Type | Method and Description |
---|---|
void |
injectResources(Object saga)
Inject required resources into the given
saga . |
static NoResourceInjector |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NoResourceInjector[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NoResourceInjector INSTANCE
public static NoResourceInjector[] values()
for (NoResourceInjector c : NoResourceInjector.values()) System.out.println(c);
public static NoResourceInjector 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 nullpublic void injectResources(Object saga)
ResourceInjector
saga
.injectResources
in interface ResourceInjector
saga
- The saga to inject resources intoCopyright © 2010–2024. All rights reserved.