public enum PredefinedNamedInjectionStrategy extends Enum<PredefinedNamedInjectionStrategy> implements NamedInjectionStrategy
NamedInjectionStrategies.NamedInjectionStrategy| Enum Constant and Description |
|---|
DISABLED
No named injection.
|
SCHEMA
Add
javax.inject.Named annotations with the DAO's underlying schema as name. |
| Modifier and Type | Method and Description |
|---|---|
String |
apply(String s) |
static PredefinedNamedInjectionStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PredefinedNamedInjectionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfidentitypublic static final PredefinedNamedInjectionStrategy DISABLED
public static final PredefinedNamedInjectionStrategy SCHEMA
javax.inject.Named annotations with the DAO's underlying schema as name.public static PredefinedNamedInjectionStrategy[] values()
for (PredefinedNamedInjectionStrategy c : PredefinedNamedInjectionStrategy.values()) System.out.println(c);
public static PredefinedNamedInjectionStrategy 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 © 2020. All rights reserved.