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, setInterceptors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAdvisor, getClazz, resolveClassAnnotation, resolveClassMetaData
public Method unadvisedMethod
protected Joinpoint internalGetJoinpoint()
internalGetJoinpoint
in class JoinPointInfo
public JoinPointInfo copy()
copy
in class JoinPointInfo
@Deprecated public Method getAdvisedMethod()
public Method getMethod()
MethodExecution
getMethod
in interface MethodExecution
public void setAdvisedMethod(Method advisedMethod)
public long getHash()
MethodExecution
getHash
in interface MethodExecution
public void setHash(long hash)
public Method getUnadvisedMethod()
public void setUnadvisedMethod(Method unadvisedMethod)
public <T extends Annotation> T resolveAnnotation(Class<T> annotation)
JoinPointBean
resolveAnnotation
in interface JoinPointBean
resolveAnnotation
in class JoinPointInfo
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.