public abstract class AbstractAdvice extends Object implements Interceptor, Untransformable
Modifier and Type | Field and Description |
---|---|
protected String |
adviceName |
protected Class<?> |
aspectClass |
protected Method |
conCalledByConstructorAdvice |
protected Method |
conCalledByMethodAdvice |
protected Method |
constructionAdvice |
protected Method |
constructorAdvice |
protected Method |
fieldAdvice |
protected Method |
fieldReadAdvice |
protected Method |
fieldWriteAdvice |
protected Method |
invocationAdvice |
protected Method |
methodAdvice |
protected Method |
methodCalledByConstructorAdvice |
protected Method |
methodCalledByMethodAdvice |
Constructor and Description |
---|
AbstractAdvice() |
Modifier and Type | Method and Description |
---|---|
protected static Method |
findByConstructionInvocation(String adviceName,
Class<?> clazz) |
protected static Method |
findByConstructorCalledByConstructorInvocation(String adviceName,
Class<?> clazz) |
protected static Method |
findByConstructorCalledByMethodInvocation(String adviceName,
Class<?> clazz) |
protected static Method |
findByConstructorInvocation(String adviceName,
Class<?> clazz) |
protected static Method |
findByFieldInvocation(String adviceName,
Class<?> clazz) |
protected static Method |
findByFieldReadInvocation(String adviceName,
Class<?> clazz) |
protected static Method |
findByFieldWriteInvocation(String adviceName,
Class<?> clazz) |
protected static Method |
findByInvocation(String adviceName,
Class<?> clazz) |
protected static Method |
findByMethodCalledByConstructorInvocation(String adviceName,
Class<?> clazz) |
protected static Method |
findByMethodCalledByMethodInvocation(String adviceName,
Class<?> clazz) |
protected static Method |
findByMethodInvocation(String adviceName,
Class<?> clazz) |
String |
getAdviceName() |
abstract Object |
getAspectInstance() |
protected void |
init(String advice,
Class<?> aspectClass) |
protected Method |
resolveAdvice(Invocation invocation) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, invoke
protected Method invocationAdvice
protected Method methodAdvice
protected Method constructorAdvice
protected Method constructionAdvice
protected Method fieldAdvice
protected Method fieldReadAdvice
protected Method fieldWriteAdvice
protected Method methodCalledByMethodAdvice
protected Method methodCalledByConstructorAdvice
protected Method conCalledByMethodAdvice
protected Method conCalledByConstructorAdvice
protected Class<?> aspectClass
protected String adviceName
protected static Method findByMethodInvocation(String adviceName, Class<?> clazz)
protected static Method findByFieldInvocation(String adviceName, Class<?> clazz)
protected static Method findByFieldReadInvocation(String adviceName, Class<?> clazz)
protected static Method findByFieldWriteInvocation(String adviceName, Class<?> clazz)
protected static Method findByConstructorInvocation(String adviceName, Class<?> clazz)
protected static Method findByConstructionInvocation(String adviceName, Class<?> clazz)
protected static Method findByMethodCalledByMethodInvocation(String adviceName, Class<?> clazz)
protected static Method findByMethodCalledByConstructorInvocation(String adviceName, Class<?> clazz)
protected static Method findByConstructorCalledByMethodInvocation(String adviceName, Class<?> clazz)
protected static Method findByConstructorCalledByConstructorInvocation(String adviceName, Class<?> clazz)
protected Method resolveAdvice(Invocation invocation)
public String getAdviceName()
public abstract Object getAspectInstance()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.