org.jboss.joinpoint.spi
Interface Joinpoint

All Superinterfaces:
Cloneable
All Known Subinterfaces:
ConstructorJoinpoint, FieldGetJoinpoint, FieldSetJoinpoint, MethodJoinpoint, TargettedJoinpoint
All Known Implementing Classes:
ReflectConstructorJoinPoint, ReflectFieldGetJoinPoint, ReflectFieldSetJoinPoint, ReflectMethodJoinPoint, ReflectTargettedJoinPoint

public interface Joinpoint
extends Cloneable

A join point

Author:
Bill Burke, Adrian Brock

Method Summary
 Object clone()
          Make a copy of the joinpoint
 Object dispatch()
          Invoke on the actual joinpoint
 String toHumanReadableString()
          A human readable version of the join point
 

Method Detail

dispatch

public Object dispatch()
                throws Throwable
Invoke on the actual joinpoint

Returns:
the result of the invocation
Throws:
Throwable - for any error

clone

public Object clone()
Make a copy of the joinpoint

Returns:
a copy of the join point

toHumanReadableString

public String toHumanReadableString()
A human readable version of the join point

Returns:
a human readable description of the join point


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.