Alphabetical Index

A C F G I J L M O P R S T U W

A

ADD_AFTER_CODE - static field in class org.aopalliance.instrument.Instrumentation
After code adding instrumentation type.
ADD_BEFORE_CODE - static field in class org.aopalliance.instrument.Instrumentation
Before code instrumentation type.
ADD_CLASS - static field in class org.aopalliance.instrument.Instrumentation
Class adding instrumentation type.
ADD_INTERFACE - static field in class org.aopalliance.instrument.Instrumentation
Interface adding instrumentation type.
ADD_METADATA - static field in class org.aopalliance.instrument.Instrumentation
Metadata adding instrumentation type.
Adds some code after a given method code body.
Adds some code around a given method code body.
Adds some code before a given method code body.
addClass(org.aopalliance.reflect.ClassLocator,String) - method in class org.aopalliance.instrument.Instrumentor
Introduces a class into the class location (mixin).
Adds a new field to the target class.
addInterface(org.aopalliance.reflect.ClassLocator,String) - method in class org.aopalliance.instrument.Instrumentor
Adds a new implemented interface to a given class location.
addMetadata(org.aopalliance.reflect.Metadata) - method in class org.aopalliance.reflect.ProgramUnit
Associates a metadata to the current unit.
Adds a new method to the class location.
Advice - interface org.aopalliance.aop.Advice
Tag interface for Advice.
AspectException - class org.aopalliance.aop.AspectException
Superclass for all AOP infrastructure exceptions.
AspectException(String) - constructor for class org.aopalliance.aop.AspectException
Constructor for AspectException.
AspectException(String,Throwable) - constructor for class org.aopalliance.aop.AspectException
Constructor for AspectException.

C

Class - interface org.aopalliance.reflect.Class
This element represents classes in the base program.
ClassLocator - interface org.aopalliance.reflect.ClassLocator
This interface represents a specific unit locator for base program classes.
Code - interface org.aopalliance.reflect.Code
This represents a piece of code in the program.
CodeLocator - interface org.aopalliance.reflect.CodeLocator
This interface represents a locator on a base program piece of code.
Implement this method to perform extra treatments before and after the consrution of a new object.
ConstructorInterceptor - interface org.aopalliance.intercept.ConstructorInterceptor
Intercepts the construction of a new object.
ConstructorInvocation - interface org.aopalliance.intercept.ConstructorInvocation
Description of an invocation to a constuctor, given to an interceptor upon construtor-call.
createClass(String) - method in class org.aopalliance.instrument.Instrumentor
Creates a new class.

F

Field - interface org.aopalliance.reflect.Field
This represents a field of a class.
FieldAccess - interface org.aopalliance.intercept.FieldAccess
This interface represents a field access in the program.
FieldInterceptor - interface org.aopalliance.intercept.FieldInterceptor
Intercepts field access on a target object.

G

get(org.aopalliance.intercept.FieldAccess) - method in class org.aopalliance.intercept.FieldInterceptor
Do the stuff you want to do before and after the field is getted.
getAccessType() - method in class org.aopalliance.intercept.FieldAccess
Returns the access type.
getArguments() - method in class org.aopalliance.intercept.Invocation
Get the arguments as an array object.
getBody() - method in class org.aopalliance.reflect.Method
Returns the body of the current method.
getCallLocator() - method in class org.aopalliance.reflect.Method
This locator contains all the points in the program that call this method.
getCallLocator(int) - method in class org.aopalliance.reflect.Method
A full version of getCallLocator().
getCallLocator(org.aopalliance.reflect.Method) - method in class org.aopalliance.reflect.Code
Returns a call locator for the given callee method.
getCatchLocator(org.aopalliance.reflect.Class) - method in class org.aopalliance.reflect.Code
Returns a exception catching locator in the current body.
getCause() - method in class org.aopalliance.aop.AspectException
Return the root cause of this exception.
getClassLocator() - method in class org.aopalliance.reflect.Class
Returns the class locator that corresponds to this class.
getConstructor() - method in class org.aopalliance.intercept.ConstructorInvocation
Gets the constructor being called.
getDeclaredFields() - method in class org.aopalliance.reflect.Class
Gets the fields declared by this class.
getDeclaredMethods() - method in class org.aopalliance.reflect.Class
Gets the methods declared by this class.
getDeclaringClass() - method in class org.aopalliance.reflect.Member
Gets the class that declares this member.
getField() - method in class org.aopalliance.intercept.FieldAccess
Gets the field being accessed.
getFields() - method in class org.aopalliance.reflect.Class
Gets the fields of this class (including superclass fields).
getInterfaces() - method in class org.aopalliance.reflect.Class
Gets all the interfaces implemented by this class.
getKey() - method in class org.aopalliance.reflect.Metadata
Gets the key of this metadata.
getLocation() - method in class org.aopalliance.instrument.Instrumentation
Returns the location of this instrumentation.
getLocator() - method in class org.aopalliance.reflect.Code
Returns the code locator that corresponds to this code.
getLocator() - method in class org.aopalliance.reflect.ProgramUnit
Returns the locator that corresponds to this unit.
getMessage() - method in class org.aopalliance.aop.AspectException
getMetadata(Object) - method in class org.aopalliance.reflect.ProgramUnit
Returns the metadata that is associated to this unit from its key.
getMetadatas() - method in class org.aopalliance.reflect.ProgramUnit
Returns all the metadatas that are associated to the current unit.
getMethod() - method in class org.aopalliance.intercept.MethodInvocation
Gets the method being called.
getMethods() - method in class org.aopalliance.reflect.Class
Gets the methods of this class (including superclass methods).
getModifiers() - method in class org.aopalliance.reflect.Member
The modifiers value.
getName() - method in class org.aopalliance.reflect.Class
Gets the class's full name.
getName() - method in class org.aopalliance.reflect.Member
The member's name.
getReadLocator() - method in class org.aopalliance.reflect.Field
Same as getReadLocator(USER_SIDE).
getReadLocator(int) - method in class org.aopalliance.reflect.Field
This methods returns the points where the current field is read.
getReadLocator(org.aopalliance.reflect.Field) - method in class org.aopalliance.reflect.Code
Returns a field reading locator in the current body.
getStaticPart() - method in class org.aopalliance.intercept.Joinpoint
Returns the static part of this joinpoint.
getSuperclass() - method in class org.aopalliance.reflect.Class
Gets the superclass of this class.
getThis() - method in class org.aopalliance.intercept.Joinpoint
Returns the object that holds the current joinpoint's static part.
getThrowLocator(org.aopalliance.reflect.Class) - method in class org.aopalliance.reflect.Code
Returns a exception throwing locator in the current body.
getType() - method in class org.aopalliance.instrument.Instrumentation
Gets the instrumentation type.
getValue() - method in class org.aopalliance.reflect.Metadata
Gets the value of this metadata.
getValueToSet() - method in class org.aopalliance.intercept.FieldAccess
Gets the value that must be set to the field.
getWriteLocator() - method in class org.aopalliance.reflect.Field
Same as getWriteLocator(USER_SIDE).
getWriteLocator(int) - method in class org.aopalliance.reflect.Field
This methods returns the points where the current field is written.
getWriteLocator(org.aopalliance.reflect.Field) - method in class org.aopalliance.reflect.Code
Returns a field writing locator in the current body.

I

Instrumentation - interface org.aopalliance.instrument.Instrumentation
This interface represents an instrumentation on the base program.
InstrumentationError - class org.aopalliance.instrument.InstrumentationError
The error that is raised when an error occurs during an instrumentation.
Sets a generic error message for an instrumentation error.
Instrumentor - interface org.aopalliance.instrument.Instrumentor
This interface defines all the methods that perform program instrumentations that are useful for AOP.
Interceptor - interface org.aopalliance.intercept.Interceptor
This interface represents a generic interceptor.
Invocation - interface org.aopalliance.intercept.Invocation
This interface represents an invocation in the program.
invoke(org.aopalliance.intercept.MethodInvocation) - method in class org.aopalliance.intercept.MethodInterceptor
Implement this method to perform extra treatments before and after the invocation.

J

Joinpoint - interface org.aopalliance.intercept.Joinpoint
This interface represents a generic runtime joinpoint (in the AOP terminology).

L

Locator - interface org.aopalliance.reflect.Locator
This interface represents a locator on the base program.

M

Member - interface org.aopalliance.reflect.Member
This interface represents a class member.
Metadata - interface org.aopalliance.reflect.Metadata
A metadata is a pair of values (key,data) that can be associated to a program unit.
Method - interface org.aopalliance.reflect.Method
This represents a method of a class.
MethodInterceptor - interface org.aopalliance.intercept.MethodInterceptor
Intercepts calls on an interface on its way to the target.
MethodInvocation - interface org.aopalliance.intercept.MethodInvocation
Description of an invocation to a method, given to an interceptor upon method-call.

O

This package provides the most generic and common interfaces for AOP.
This package provides an API for program instrumentation.
This package provides a set of interfaces for interception mechanisms.
This package provides a set of interfaces for implementing a generic reflection API.

P

printStackTrace() - method in class org.aopalliance.aop.AspectException
printStackTrace(PrintStream) - method in class org.aopalliance.aop.AspectException
printStackTrace(PrintWriter) - method in class org.aopalliance.aop.AspectException
proceed() - method in class org.aopalliance.intercept.Joinpoint
Proceeds to the next interceptor in the chain.
ProgramUnit - interface org.aopalliance.reflect.ProgramUnit
An abstract program unit.
PROVIDER_SIDE - static field in class org.aopalliance.reflect.Member
A constant to denote the program side that provides this member.

R

READ - static field in class org.aopalliance.intercept.FieldAccess
The read access type (see getAccessType()).
removeMetadata(Object) - method in class org.aopalliance.reflect.ProgramUnit
Removes a metadata from its key.

S

set(org.aopalliance.intercept.FieldAccess) - method in class org.aopalliance.intercept.FieldInterceptor
Do the stuff you want to do before and after the field is setted.
SET_SUPERCLASS - static field in class org.aopalliance.instrument.Instrumentation
Superclass setting instrumentation type.
Sets or replaces the current superclass of a class location.

T

toString() - method in class org.aopalliance.aop.AspectException

U

undo(org.aopalliance.instrument.Instrumentation) - method in class org.aopalliance.instrument.Instrumentor
Cancels an instrumentation.
UndoNotSupportedException - class org.aopalliance.instrument.UndoNotSupportedException
The exception that is raised when the client program tries to undo an instrumentation and when current implementation does not support it.
Sets a generic exception message for an instrumentation.
UnitLocator - interface org.aopalliance.reflect.UnitLocator
This interface represents a locator on a base program structural unit.
USER_SIDE - static field in class org.aopalliance.reflect.Member
A constant to denote the program side that uses this member.

W

WRITE - static field in class org.aopalliance.intercept.FieldAccess
The write access type (see getAccessType()).