org.objectweb.jac.core
Class Interaction

java.lang.Object
  extended byorg.objectweb.jac.core.Interaction
All Implemented Interfaces:
ConstructorInvocation, Invocation, Joinpoint, MethodInvocation

public class Interaction
extends Object
implements MethodInvocation, ConstructorInvocation


Field Summary
 Object[] args
           
 String cur_AC
           
 AbstractMethodItem method
           
 int rank
           
 Wrappee wrappee
           
 Interceptor[] wrappingChain
           
 
Constructor Summary
Interaction(WrappingChain wrappingChain, Wrappee wrappee, AbstractMethodItem method, Object[] args)
           
 
Method Summary
 Class getActualClass()
           
 Object getArgument(int index)
           
 int getArgumentCount()
           
 Object[] getArguments()
           
 ClassItem getClassItem()
           
 Constructor getConstructor()
           
 Method getMethod()
           
 AccessibleObject getStaticPart()
           
 Object getThis()
           
 Object invoke(Object substance)
           
 Object proceed()
           
 void setArgument(int index, Object argument)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

wrappee

public final Wrappee wrappee

method

public final AbstractMethodItem method

args

public final Object[] args

rank

public int rank

cur_AC

public String cur_AC

wrappingChain

public Interceptor[] wrappingChain
Constructor Detail

Interaction

public Interaction(WrappingChain wrappingChain,
                   Wrappee wrappee,
                   AbstractMethodItem method,
                   Object[] args)
Method Detail

proceed

public final Object proceed()
Specified by:
proceed in interface Joinpoint

invoke

public final Object invoke(Object substance)

getActualClass

public final Class getActualClass()

getClassItem

public final ClassItem getClassItem()

toString

public String toString()

getConstructor

public Constructor getConstructor()
Specified by:
getConstructor in interface ConstructorInvocation

getMethod

public Method getMethod()
Specified by:
getMethod in interface MethodInvocation

getArgument

public Object getArgument(int index)

setArgument

public void setArgument(int index,
                        Object argument)

getArgumentCount

public int getArgumentCount()

getArguments

public Object[] getArguments()
Specified by:
getArguments in interface Invocation

getThis

public Object getThis()
Specified by:
getThis in interface Joinpoint

getStaticPart

public AccessibleObject getStaticPart()
Specified by:
getStaticPart in interface Joinpoint