org.jboss.joinpoint.spi
Interface Joinpoint

All Superinterfaces:
Cloneable
All Known Subinterfaces:
ConstructorJoinpoint, FieldGetJoinpoint, FieldSetJoinpoint, MethodJoinpoint, TargettedJoinpoint
All Known Implementing Classes:
BasicConstructorJoinPoint, BasicFieldGetJoinPoint, BasicFieldSetJoinPoint, BasicMethodJoinPoint, BasicTargettedJoinPoint

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

Object dispatch()
                throws Throwable
Invoke on the actual joinpoint

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

clone

Object clone()
Make a copy of the joinpoint

Returns:
a copy of the join point

toHumanReadableString

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

Returns:
a human readable description of the join point


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.