org.jboss.aop
Class JoinPointInfo

java.lang.Object
  extended by org.jboss.aop.JoinPointInfo
All Implemented Interfaces:
IJoinPointInfo
Direct Known Subclasses:
CallerConstructorInfo, CallerMethodInfo, ConstructionInfo, ConstructorInfo, FieldInfo, MethodInfo

public abstract class JoinPointInfo
extends Object
implements IJoinPointInfo


Field Summary
protected  WeakReference clazz
           
protected  Joinpoint joinpoint
           
 
Constructor Summary
protected JoinPointInfo()
           
protected JoinPointInfo(Advisor advisor, Class clazz)
           
protected JoinPointInfo(JoinPointInfo other)
           
 
Method Summary
protected  void clear()
           
 void cloneChains(JoinPointInfo other)
           
abstract  JoinPointInfo copy()
           
 boolean equalChains(JoinPointInfo other)
           
 Advisor getAdvisor()
          Gets the advisor
 Class getClazz()
          Gets the advisor's class
 ArrayList getInterceptorChain()
           
 Interceptor[] getInterceptors()
           
 Joinpoint getJoinpoint()
           
 boolean hasAdvices()
           
protected abstract  Joinpoint internalGetJoinpoint()
           
 Object resolveAnnotation(Class annotation)
          Resolves annotations on the particular joinpoint (field, constructor, method etc.)
 Object resolveClassAnnotation(Class annotation)
          Resolves annotations for the class
 Object resolveClassMetaData(Object key, Object attr)
          Resolves metadata on the class
 void setAdvisor(Advisor advisor)
           
 void setInterceptorChain(ArrayList interceptorChain)
           
 void setInterceptors(Interceptor[] interceptors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

joinpoint

protected volatile Joinpoint joinpoint

clazz

protected WeakReference clazz
Constructor Detail

JoinPointInfo

protected JoinPointInfo()

JoinPointInfo

protected JoinPointInfo(Advisor advisor,
                        Class clazz)

JoinPointInfo

protected JoinPointInfo(JoinPointInfo other)
Method Detail

clear

protected void clear()

getAdvisor

public Advisor getAdvisor()
Description copied from interface: IJoinPointInfo
Gets the advisor

Specified by:
getAdvisor in interface IJoinPointInfo

getClazz

public Class getClazz()
Description copied from interface: IJoinPointInfo
Gets the advisor's class

Specified by:
getClazz in interface IJoinPointInfo

setAdvisor

public void setAdvisor(Advisor advisor)

hasAdvices

public boolean hasAdvices()

equalChains

public boolean equalChains(JoinPointInfo other)

getJoinpoint

public Joinpoint getJoinpoint()

getInterceptorChain

public ArrayList getInterceptorChain()

setInterceptorChain

public void setInterceptorChain(ArrayList interceptorChain)

getInterceptors

public Interceptor[] getInterceptors()

setInterceptors

public void setInterceptors(Interceptor[] interceptors)

internalGetJoinpoint

protected abstract Joinpoint internalGetJoinpoint()

copy

public abstract JoinPointInfo copy()

resolveClassMetaData

public Object resolveClassMetaData(Object key,
                                   Object attr)
Description copied from interface: IJoinPointInfo
Resolves metadata on the class

Specified by:
resolveClassMetaData in interface IJoinPointInfo

resolveClassAnnotation

public Object resolveClassAnnotation(Class annotation)
Description copied from interface: IJoinPointInfo
Resolves annotations for the class

Specified by:
resolveClassAnnotation in interface IJoinPointInfo

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

cloneChains

public void cloneChains(JoinPointInfo other)


Copyright © 2004 JBoss Inc. All Rights Reserved.