org.jboss.aop
Class ConstructionInfo

java.lang.Object
  extended by org.jboss.aop.JoinPointInfo
      extended by org.jboss.aop.ConstructionInfo
All Implemented Interfaces:
Construction, JoinPointBean

public class ConstructionInfo
extends JoinPointInfo
implements Construction

Comment

Version:
$Revision$
Author:
Kabir Khan

Field Summary
 
Fields inherited from class org.jboss.aop.JoinPointInfo
clazz, interceptors, joinpoint
 
Constructor Summary
ConstructionInfo()
           
ConstructionInfo(Class<?> clazz, int index, long constructorHash, Advisor advisor)
           
 
Method Summary
 JoinPointInfo copy()
           
 Constructor<?> getConstructor()
          Gets the constructor being called
 int getIndex()
           
protected  Joinpoint internalGetJoinpoint()
           
<T extends Annotation>
T
resolveAnnotation(Class<T> annotation)
          Resolves annotations on the particular joinpoint (field, constructor, method etc.)
 void setConstructor(Constructor<?> constructor)
           
 void setIndex(int index)
           
 String toString()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.aop.joinpoint.JoinPointBean
getAdvisor, getClazz, resolveClassAnnotation, resolveClassMetaData
 

Constructor Detail

ConstructionInfo

public ConstructionInfo()

ConstructionInfo

public ConstructionInfo(Class<?> clazz,
                        int index,
                        long constructorHash,
                        Advisor advisor)
Method Detail

internalGetJoinpoint

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

copy

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

toString

public String toString()
Overrides:
toString in class Object

setConstructor

public void setConstructor(Constructor<?> constructor)

getConstructor

public Constructor<?> getConstructor()
Description copied from interface: Construction
Gets the constructor being called

Specified by:
getConstructor in interface Construction

setIndex

public void setIndex(int index)

getIndex

public int getIndex()

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 © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.