|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.aop.advice.annotation.AdviceMethodFactory
public class AdviceMethodFactory
Utility class to select an advice method for a given joinpoint.
| Field Summary | |
|---|---|
static AdviceMethodFactory |
AFTER
Factory that selects advice methods for after interception. |
static AdviceMethodFactory |
AROUND
Factory that selects advice methods for aroung interception. |
static AdviceMethodFactory |
BEFORE
Factory that selects advice methods for before interception. |
static AdviceMethodFactory |
FINALLY
Factory that selects advice methods for finally interception. |
static AdviceMethodFactory |
THROWING
Factory that selects advice methods for throwing interception. |
| Method Summary | |
|---|---|
AdviceMethodProperties |
findAdviceMethod(AdviceMethodProperties properties)
Finds the more appropriate advice method. |
void |
setAdviceType(AdviceType adviceType)
Sets the type of advice this factory represents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final AdviceMethodFactory BEFORE
public static final AdviceMethodFactory AFTER
public static final AdviceMethodFactory THROWING
public static final AdviceMethodFactory FINALLY
public static final AdviceMethodFactory AROUND
| Method Detail |
|---|
public void setAdviceType(AdviceType adviceType)
adviceType - the type of the advice this factory is associated to
public final AdviceMethodProperties findAdviceMethod(AdviceMethodProperties properties)
throws NoMatchingAdviceException
properties - contains information regarding the queried advice method
NoMatchingAdviceException - if no suitable method was found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||