org.jboss.aop
Class ConstructorInfo

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

public class ConstructorInfo
extends JoinPointInfo
implements ConstructorExecution

Comment

Version:
$Revision$
Author:
Kabir Khan

Field Summary
 
Fields inherited from class org.jboss.aop.JoinPointInfo
clazz, interceptors, joinpoint
 
Constructor Summary
ConstructorInfo()
           
ConstructorInfo(Class<?> clazz, int index, long wrapperHash, long constructorHash, Advisor advisor)
           
 
Method Summary
 JoinPointInfo copy()
           
 Constructor<?> getConstructor()
          Gets the constructor being called
 int getIndex()
           
 Method getWrapper()
           
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)
           
 void setWrapper(Method wrapper)
           
 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

ConstructorInfo

public ConstructorInfo()

ConstructorInfo

public ConstructorInfo(Class<?> clazz,
                       int index,
                       long wrapperHash,
                       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

setWrapper

public void setWrapper(Method wrapper)

getWrapper

public Method getWrapper()

setConstructor

public void setConstructor(Constructor<?> constructor)

getConstructor

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

Specified by:
getConstructor in interface ConstructorExecution

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.