Top Description Fields Constructors Methods
org.springframework.context.annotation

public final Enum AdviceMode

extends Enum<AdviceMode>
Class Inheritance

Enumeration used to determine whether JDK proxy-based or AspectJ weaving-based advice should be applied.
Author
Chris Beams
Since
3.1
See Also
org.springframework.scheduling.annotation.EnableAsync#mode(), org.springframework.scheduling.annotation.AsyncConfigurationSelector#selectImports, org.springframework.transaction.annotation.EnableTransactionManagement#mode()

Field Summary

Modifier and TypeField and Description
public static final AdviceMode
ASPECTJ

AspectJ weaving-based advice.

public static final AdviceMode
PROXY

JDK proxy-based advice.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static AdviceMode
public static AdviceMode[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

ASPECTJback to summary
public static final AdviceMode ASPECTJ

AspectJ weaving-based advice.

PROXYback to summary
public static final AdviceMode PROXY

JDK proxy-based advice.

Constructor Detail

AdviceModeback to summary
private AdviceMode()

Method Detail

valueOfback to summary
public static AdviceMode valueOf(String name)
valuesback to summary
public static AdviceMode[] values()