org.jboss.aop
Class MethodInfo
java.lang.Object
org.jboss.aop.JoinPointInfo
org.jboss.aop.MethodInfo
- All Implemented Interfaces:
- IJoinPointInfo, IMethodInfo
public class MethodInfo
- extends JoinPointInfo
- implements IMethodInfo
This class is here to eliminate a hash lookup in invokeMethod
Methods inherited from class org.jboss.aop.JoinPointInfo |
clear, cloneChains, equalChains, getAdvisor, getClazz, getInterceptorChain, getInterceptors, getJoinpoint, hasAdvices, resolveClassAnnotation, resolveClassMetaData, setAdvisor, setInterceptorChain, setInterceptors |
MethodInfo
public MethodInfo()
MethodInfo
public MethodInfo(Class clazz,
long hash,
long unadvisedHash,
Advisor advisor)
internalGetJoinpoint
protected Joinpoint internalGetJoinpoint()
- Specified by:
internalGetJoinpoint
in class JoinPointInfo
copy
public JoinPointInfo copy()
- Specified by:
copy
in class JoinPointInfo
getAdvisedMethod
public Method getAdvisedMethod()
- Description copied from interface:
IMethodInfo
- Gets the method being called
- Specified by:
getAdvisedMethod
in interface IMethodInfo
setAdvisedMethod
public void setAdvisedMethod(Method advisedMethod)
getHash
public long getHash()
- Description copied from interface:
IMethodInfo
- Gets the hash of the method being called
- Specified by:
getHash
in interface IMethodInfo
setHash
public void setHash(long hash)
getUnadvisedMethod
public Method getUnadvisedMethod()
setUnadvisedMethod
public void setUnadvisedMethod(Method unadvisedMethod)
toString
public String toString()
- Overrides:
toString
in class Object
resolveAnnotation
public Object resolveAnnotation(Class annotation)
- Description copied from interface:
IJoinPointInfo
- Resolves annotations on the particular joinpoint (field, constructor, method etc.)
- Specified by:
resolveAnnotation
in interface IJoinPointInfo
- Overrides:
resolveAnnotation
in class JoinPointInfo
Copyright © 2004 JBoss Inc. All Rights Reserved.