edu.princeton.wordnet.orm.interceptor.Interceptor Class Reference

Inherited by edu.princeton.wordnet.orm.hibernate.HibernateInterceptor, and edu.princeton.wordnet.orm.jpa.JPAInterceptor.

Collaboration diagram for edu.princeton.wordnet.orm.interceptor.Interceptor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void intercept (final String thisClassName, final String thisMethodName, final String thisParameterName, final boolean write) throws NotFoundException, IOException, CannotCompileException

Static Public Member Functions

static void setup (final boolean JPA) throws NotFoundException, IOException, CannotCompileException

Protected Member Functions

abstract String prologueReturn ()
abstract String prologueClass ()
abstract String[] importedPackages ()

Detailed Description

Interceptor instrumentation

Author:
Bernard Bou

Member Function Documentation

void edu.princeton.wordnet.orm.interceptor.Interceptor.intercept ( final String  thisClassName,
final String  thisMethodName,
final String  thisParameterName,
final boolean  write 
) throws NotFoundException, IOException, CannotCompileException

Intercept method

Parameters:
thisClassName class name
thisMethodName method name
thisParameterName parameter name
write whether to write changes to file
Exceptions:
NotFoundException 
IOException 
CannotCompileException 
static void edu.princeton.wordnet.orm.interceptor.Interceptor.setup ( final boolean  JPA  )  throws NotFoundException, IOException, CannotCompileException [static]

Setup interception

Exceptions:
NotFoundException 
IOException 
CannotCompileException 

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations
Generated on Tue May 25 16:44:06 2010 for WordNetScope by  doxygen 1.6.3