org.jboss.aop
Class MethodInfo

java.lang.Object
  extended by org.jboss.aop.JoinPointInfo
      extended by org.jboss.aop.MethodInfo

public class MethodInfo
extends JoinPointInfo

This class is here to eliminate a hash lookup in invokeMethod


Field Summary
 Method advisedMethod
          Deprecated. use accessors instead
 long hash
          Deprecated. use accessors instead
 Method unadvisedMethod
          Deprecated. use accessors instead
 
Fields inherited from class org.jboss.aop.JoinPointInfo
factories, factoryChain, interceptorChain, interceptors, joinpoint
 
Constructor Summary
MethodInfo()
           
MethodInfo(Class clazz, long hash, long unadvisedHash, Advisor advisor)
           
 
Method Summary
 JoinPointInfo copy()
           
 Method getAdvisedMethod()
           
 long getHash()
           
 Method getUnadvisedMethod()
           
protected  Joinpoint internalGetJoinpoint()
           
 void setAdvisedMethod(Method advisedMethod)
           
 void setHash(long hash)
           
 void setUnadvisedMethod(Method unadvisedMethod)
           
 String toString()
           
 
Methods inherited from class org.jboss.aop.JoinPointInfo
clear, equalChains, getAdvisor, getFactories, getFactoryChain, getInterceptorChain, getInterceptors, getJoinpoint, hasAdvices, initialiseInterceptors, setAdvisor, setFactories, setFactoryChain, setInterceptorChain, setInterceptors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

advisedMethod

public Method advisedMethod
Deprecated. use accessors instead

unadvisedMethod

public Method unadvisedMethod
Deprecated. use accessors instead

hash

public long hash
Deprecated. use accessors instead
Constructor Detail

MethodInfo

public MethodInfo()

MethodInfo

public MethodInfo(Class clazz,
                  long hash,
                  long unadvisedHash,
                  Advisor advisor)
Method Detail

internalGetJoinpoint

protected Joinpoint internalGetJoinpoint()
Specified by:
internalGetJoinpoint in class JoinPointInfo

copy

public JoinPointInfo copy()
Specified by:
copy in class JoinPointInfo

getAdvisedMethod

public Method getAdvisedMethod()

setAdvisedMethod

public void setAdvisedMethod(Method advisedMethod)

getHash

public long getHash()

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


Copyright © 2004 JBoss Inc. All Rights Reserved.