org.jboss.joinpoint.plugins
Class BasicFieldGetJoinPoint

java.lang.Object
  extended by org.jboss.joinpoint.plugins.BasicTargettedJoinPoint
      extended by org.jboss.joinpoint.plugins.BasicFieldGetJoinPoint
All Implemented Interfaces:
Cloneable, FieldGetJoinpoint, Joinpoint, TargettedJoinpoint

public class BasicFieldGetJoinPoint
extends BasicTargettedJoinPoint
implements FieldGetJoinpoint

A field get joinpoint

Author:
Adrian Brock

Field Summary
protected  FieldInfo fieldInfo
          The field info
 
Fields inherited from class org.jboss.joinpoint.plugins.BasicTargettedJoinPoint
target
 
Constructor Summary
BasicFieldGetJoinPoint(FieldInfo fieldInfo)
          Create a new field get join point
 
Method Summary
 Object dispatch()
          Invoke on the actual joinpoint
 FieldInfo getFieldInfo()
          Get the field info for this join point
 String toHumanReadableString()
          A human readable version of the join point
 
Methods inherited from class org.jboss.joinpoint.plugins.BasicTargettedJoinPoint
clone, getTarget, setTarget
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.joinpoint.spi.TargettedJoinpoint
getTarget, setTarget
 
Methods inherited from interface org.jboss.joinpoint.spi.Joinpoint
clone
 

Field Detail

fieldInfo

protected FieldInfo fieldInfo
The field info

Constructor Detail

BasicFieldGetJoinPoint

public BasicFieldGetJoinPoint(FieldInfo fieldInfo)
Create a new field get join point

Parameters:
fieldInfo - the field info
Method Detail

getFieldInfo

public FieldInfo getFieldInfo()
Description copied from interface: FieldGetJoinpoint
Get the field info for this join point

Specified by:
getFieldInfo in interface FieldGetJoinpoint
Returns:
the field info

dispatch

public Object dispatch()
                throws Throwable
Description copied from interface: Joinpoint
Invoke on the actual joinpoint

Specified by:
dispatch in interface Joinpoint
Returns:
the result of the invocation
Throws:
Throwable - for any error

toHumanReadableString

public String toHumanReadableString()
Description copied from interface: Joinpoint
A human readable version of the join point

Specified by:
toHumanReadableString in interface Joinpoint
Returns:
a human readable description of the join point


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