org.jboss.aop
Class MethodInfo
java.lang.Object
org.jboss.aop.JoinPointInfo
org.jboss.aop.MethodInfo
- All Implemented Interfaces:
- JoinPointBean, MethodExecution
public class MethodInfo
- extends JoinPointInfo
- implements MethodExecution
This class is here to eliminate a hash lookup in invokeMethod
Field Summary |
Method |
unadvisedMethod
Deprecated. Use the accessors. Only public for backwards compatiblity with EJB3 |
Methods inherited from class org.jboss.aop.JoinPointInfo |
clear, cloneChains, equalChains, getAdviceString, getAdvisor, getClazz, getInterceptorChain, getInterceptorChainReadWriteLock, getInterceptors, getJoinpoint, hasAdvices, resetChainKeepInterceptors, resetInterceptors, resolveClassAnnotation, resolveClassMetaData, setAdvisor, setInterceptors |
unadvisedMethod
public Method unadvisedMethod
- Deprecated. Use the accessors. Only public for backwards compatiblity with EJB3
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
@Deprecated
public Method getAdvisedMethod()
- Deprecated.
getMethod
public Method getMethod()
- Description copied from interface:
MethodExecution
- Gets the method being called
- Specified by:
getMethod
in interface MethodExecution
setAdvisedMethod
public void setAdvisedMethod(Method advisedMethod)
getHash
public long getHash()
- Description copied from interface:
MethodExecution
- Gets the hash of the method being called
- Specified by:
getHash
in interface MethodExecution
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 <T extends Annotation> T resolveAnnotation(Class<T> annotation)
- Description copied from interface:
JoinPointBean
- Resolves annotations on the particular joinpoint (field, constructor, method etc.)
- Specified by:
resolveAnnotation
in interface JoinPointBean
- Overrides:
resolveAnnotation
in class JoinPointInfo
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.