public enum IoC extends Enum<IoC>
| Enum Constant and Description |
|---|
CDI
Adds @Named annotation to the generated mapper
|
CDI_APPLICATION_SCOPED
Adds @ApplicationScoped annotation to the generated mapper
|
CDI_SINGLETON
Adds @Named and @Singleton annotations to the generated mapper
|
NO
Adds no annotation for IoC
|
SPRING
Adds @Service annotation to the generated mapper
|
| Modifier and Type | Method and Description |
|---|---|
static IoC |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IoC[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IoC NO
public static final IoC SPRING
public static final IoC CDI
public static final IoC CDI_SINGLETON
public static final IoC CDI_APPLICATION_SCOPED
public static IoC[] values()
for (IoC c : IoC.values()) System.out.println(c);
public static IoC 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 © 2017. All Rights Reserved.