public enum AdviceMode extends Enum<AdviceMode>
EnableAsync.mode(), 
AsyncConfigurationSelector.selectImports(org.springframework.context.annotation.AdviceMode), 
org.springframework.transaction.annotation.EnableTransactionManagement#mode()| Enum Constant and Description | 
|---|
| ASPECTJAspectJ weaving-based advice. | 
| PROXYJDK proxy-based advice. | 
| Modifier and Type | Method and Description | 
|---|---|
| static AdviceMode | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static AdviceMode[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final AdviceMode PROXY
public static final AdviceMode ASPECTJ
public static AdviceMode[] values()
for (AdviceMode c : AdviceMode.values()) System.out.println(c);
public static AdviceMode 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 null