org.jboss.joinpoint.spi
Interface JoinpointFactory

All Known Implementing Classes:
ReflectJoinpointFactory

public interface JoinpointFactory

A join point factory.

Author:
Adrian Brock

Method Summary
 ClassInfo getClassInfo()
          Get the class info for this join point factory
 ConstructorJoinpoint getConstructorJoinpoint(ConstructorInfo constructorInfo)
          Get a constructor join point
 FieldGetJoinpoint getFieldGetJoinpoint(FieldInfo fieldInfo)
          Get a field get join point
 FieldSetJoinpoint getFieldSetJoinpoint(FieldInfo fieldInfo)
          Get a field set join point
 MethodJoinpoint getMethodJoinpoint(MethodInfo methodInfo)
          Get a method join point
 

Method Detail

getClassInfo

ClassInfo getClassInfo()
Get the class info for this join point factory

Returns:
the class info

getConstructorJoinpoint

ConstructorJoinpoint getConstructorJoinpoint(ConstructorInfo constructorInfo)
                                             throws JoinpointException
Get a constructor join point

Parameters:
constructorInfo - the constructor info
Returns:
the constructor join point
Throws:
JoinpointException - when no such constructor

getFieldGetJoinpoint

FieldGetJoinpoint getFieldGetJoinpoint(FieldInfo fieldInfo)
                                       throws JoinpointException
Get a field get join point

Parameters:
fieldInfo - the field info
Returns:
the field get join point
Throws:
JoinpointException - when no such field

getFieldSetJoinpoint

FieldSetJoinpoint getFieldSetJoinpoint(FieldInfo fieldInfo)
                                       throws JoinpointException
Get a field set join point

Parameters:
fieldInfo - the field info
Returns:
the field set join point
Throws:
JoinpointException - when no such field

getMethodJoinpoint

MethodJoinpoint getMethodJoinpoint(MethodInfo methodInfo)
                                   throws JoinpointException
Get a method join point

Parameters:
methodInfo - the method info
Returns:
the method join point
Throws:
JoinpointException - when no such method


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