org.jboss.aop
Class CallerMethodInfo

java.lang.Object
  extended by org.jboss.aop.JoinPointInfo
      extended by org.jboss.aop.CallerMethodInfo
All Implemented Interfaces:
JoinPointBean, MethodCall
Direct Known Subclasses:
MethodByConInfo, MethodByMethodInfo

public abstract class CallerMethodInfo
extends JoinPointInfo
implements MethodCall

Comment

Version:
$Revision: 70817 $
Author:
Bill Burke

Field Summary
 
Fields inherited from class org.jboss.aop.JoinPointInfo
clazz, interceptors, joinpoint
 
Constructor Summary
  CallerMethodInfo(Advisor advisor, Class<?> calledClass, Method m, long calledMethodHash, Interceptor[] in, Class<?> clazz)
           
protected CallerMethodInfo(CallerMethodInfo other)
           
 
Method Summary
 Class<?> getCalledClass()
          Gets the class containing the method being called
 long getCalledMethodHash()
          Gets the method hash of the method being called
 Class<?> getCallingClass()
          Gets the class containing the method/constructor making the call
 Method getMethod()
          Gets the method being called
 
Methods inherited from class org.jboss.aop.JoinPointInfo
clear, cloneChains, copy, equalChains, getAdviceString, getAdvisor, getClazz, getInterceptorChain, getInterceptorChainReadWriteLock, getInterceptors, getJoinpoint, hasAdvices, internalGetJoinpoint, resetChainKeepInterceptors, resetInterceptors, resolveAnnotation, resolveClassAnnotation, resolveClassMetaData, setAdvisor, setInterceptors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.aop.joinpoint.JoinPointBean
getAdvisor, getClazz, resolveAnnotation, resolveClassAnnotation, resolveClassMetaData
 

Constructor Detail

CallerMethodInfo

public CallerMethodInfo(Advisor advisor,
                        Class<?> calledClass,
                        Method m,
                        long calledMethodHash,
                        Interceptor[] in,
                        Class<?> clazz)

CallerMethodInfo

protected CallerMethodInfo(CallerMethodInfo other)
Method Detail

getCallingClass

public Class<?> getCallingClass()
Description copied from interface: MethodCall
Gets the class containing the method/constructor making the call

Specified by:
getCallingClass in interface MethodCall

getCalledClass

public Class<?> getCalledClass()
Description copied from interface: MethodCall
Gets the class containing the method being called

Specified by:
getCalledClass in interface MethodCall

getMethod

public Method getMethod()
Description copied from interface: MethodCall
Gets the method being called

Specified by:
getMethod in interface MethodCall

getCalledMethodHash

public long getCalledMethodHash()
Description copied from interface: MethodCall
Gets the method hash of the method being called

Specified by:
getCalledMethodHash in interface MethodCall


Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.