org.neo.swarm.core.aop.silc.comp
Class AspectInvocation

java.lang.Object
  extended byjava.lang.reflect.AccessibleObject
      extended byorg.neo.swarm.core.aop.silc.comp.AspectInvocation
All Implemented Interfaces:
java.io.Externalizable, Invocation, org.aopalliance.intercept.Invocation, org.aopalliance.intercept.Joinpoint, org.aopalliance.intercept.MethodInvocation, java.io.Serializable

public class AspectInvocation
extends java.lang.reflect.AccessibleObject
implements java.io.Externalizable, Invocation

Represents a particular invocation chain

Author:
damiang, navery
See Also:
Serialized Form

Field Summary
protected  java.lang.reflect.AccessibleObject staticPart
           
 
Constructor Summary
AspectInvocation()
           
AspectInvocation(java.lang.reflect.AccessibleObject staticPart, java.lang.Object key, java.lang.Object target, java.lang.reflect.Method method, java.lang.Object[] args, MethodInterceptor[] interceptors)
           
 
Method Summary
 java.lang.Object[] getArguments()
           
 java.lang.Object getKey()
           
 java.lang.reflect.Method getMethod()
           
 java.lang.reflect.AccessibleObject getStaticPart()
           
 java.lang.Object getThis()
           
 java.lang.Object proceed()
           
 void readExternal(java.io.ObjectInput s)
          Native Java Serialization through externalization (non-Javadoc)
 void setArguments(java.lang.Object[] args)
           
 void setMethod(java.lang.reflect.Method method)
           
 void setTarget(java.lang.Object o)
           
 java.lang.String toString()
           
 void writeExternal(java.io.ObjectOutput s)
          Native Java Serialization through externalization (non-Javadoc)
 
Methods inherited from class java.lang.reflect.AccessibleObject
isAccessible, setAccessible, setAccessible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

staticPart

protected transient java.lang.reflect.AccessibleObject staticPart
Constructor Detail

AspectInvocation

public AspectInvocation()

AspectInvocation

public AspectInvocation(java.lang.reflect.AccessibleObject staticPart,
                        java.lang.Object key,
                        java.lang.Object target,
                        java.lang.reflect.Method method,
                        java.lang.Object[] args,
                        MethodInterceptor[] interceptors)
Method Detail

proceed

public java.lang.Object proceed()
                         throws java.lang.Throwable
Specified by:
proceed in interface org.aopalliance.intercept.Joinpoint
Throws:
java.lang.Throwable

getArguments

public java.lang.Object[] getArguments()
Specified by:
getArguments in interface org.aopalliance.intercept.Invocation

setArguments

public void setArguments(java.lang.Object[] args)
Specified by:
setArguments in interface Invocation

getMethod

public java.lang.reflect.Method getMethod()
Specified by:
getMethod in interface org.aopalliance.intercept.MethodInvocation

setMethod

public void setMethod(java.lang.reflect.Method method)
Specified by:
setMethod in interface Invocation

getThis

public java.lang.Object getThis()
Specified by:
getThis in interface org.aopalliance.intercept.Joinpoint

setTarget

public void setTarget(java.lang.Object o)

getKey

public java.lang.Object getKey()
Specified by:
getKey in interface Invocation
Returns:
Returns the key.

writeExternal

public void writeExternal(java.io.ObjectOutput s)
                   throws java.io.IOException
Native Java Serialization through externalization (non-Javadoc)

Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException
See Also:
Externalizable.writeExternal(java.io.ObjectOutput)

readExternal

public void readExternal(java.io.ObjectInput s)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Native Java Serialization through externalization (non-Javadoc)

Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException
See Also:
Externalizable.readExternal(java.io.ObjectInput)

toString

public java.lang.String toString()

getStaticPart

public java.lang.reflect.AccessibleObject getStaticPart()
Specified by:
getStaticPart in interface org.aopalliance.intercept.Joinpoint


Copyright © 2001-2004 SWARM-ONE -First Generation (S)calable(W)ide(AR)ea(M)esh. All Rights Reserved.