public class MethodInfo extends JoinPointInfo implements MethodExecution
| Modifier and Type | Field and Description |
|---|---|
Method |
unadvisedMethod
Deprecated.
Use the accessors. Only public for backwards compatiblity with EJB3
|
clazz, interceptors, joinpoint| Constructor and Description |
|---|
MethodInfo() |
MethodInfo(Class<?> clazz,
long hash,
long unadvisedHash,
Advisor advisor) |
| Modifier and Type | Method and Description |
|---|---|
JoinPointInfo |
copy() |
Method |
getAdvisedMethod()
Deprecated.
|
long |
getHash()
Gets the hash of the method being called
|
Method |
getMethod()
Gets the method being called
|
Method |
getUnadvisedMethod() |
protected Joinpoint |
internalGetJoinpoint() |
<T extends Annotation> |
resolveAnnotation(Class<T> annotation)
Resolves annotations on the particular joinpoint (field, constructor, method etc.)
|
void |
setAdvisedMethod(Method advisedMethod) |
void |
setHash(long hash) |
void |
setUnadvisedMethod(Method unadvisedMethod) |
String |
toString() |
clear, cloneChains, equalChains, getAdviceString, getAdvisor, getClazz, getInterceptorChain, getInterceptorChainReadWriteLock, getInterceptors, getJoinpoint, hasAdvices, resetChainKeepInterceptors, resetInterceptors, resolveClassAnnotation, resolveClassMetaData, setAdvisor, setInterceptorsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAdvisor, getClazz, resolveClassAnnotation, resolveClassMetaDatapublic Method unadvisedMethod
protected Joinpoint internalGetJoinpoint()
internalGetJoinpoint in class JoinPointInfopublic JoinPointInfo copy()
copy in class JoinPointInfo@Deprecated public Method getAdvisedMethod()
public Method getMethod()
MethodExecutiongetMethod in interface MethodExecutionpublic void setAdvisedMethod(Method advisedMethod)
public long getHash()
MethodExecutiongetHash in interface MethodExecutionpublic void setHash(long hash)
public Method getUnadvisedMethod()
public void setUnadvisedMethod(Method unadvisedMethod)
public <T extends Annotation> T resolveAnnotation(Class<T> annotation)
JoinPointBeanresolveAnnotation in interface JoinPointBeanresolveAnnotation in class JoinPointInfoCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.