JMMF API
pre-release v0.4
A B C E F G H I M N P S T W

A

Adapter - interface fr.umlv.jmmf.adapter.Adapter.
interface for all generic adapter.
AdapterFactory - class fr.umlv.jmmf.adapter.AdapterFactory.
a factory for a generated specialized adapter.
AdapterFactory() - Constructor for class fr.umlv.jmmf.adapter.AdapterFactory
construct a default adapter factory.
AdapterFactory(Class) - Constructor for class fr.umlv.jmmf.adapter.AdapterFactory
construct an adapter factory where all generated adapters implements the class take as argument.
addInterface(Class) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
add an interface for all generated adapter.
addInterface(Class, Class) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
add an interface for all adapter for which the adaptee implements adapteeClass.
addMultiMethod(Class, Object, MultiMethod, int) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
 
addMultiMethod(Object, MultiMethod, int) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
 
addMultiMethod(Object, String, int, int) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
 
addMultiMethodImpl(Class, Object, MultiMethod, int) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
add multimethod for an adaptee class.
addMultiMethods(Class, Object, MultiMethod[], int) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
 
addMultiMethods(Object, MultiMethod[], int) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
 
asMethod() - Method in class fr.umlv.jmmf.reflect.MultiMethod
return a Java Method object that corresponding to the current multi-method. this method is dynamically generated.
asMethod(ClassLoader) - Method in class fr.umlv.jmmf.reflect.MultiMethod
return a Java Method object that corresponding to the current multi-method. this method is dynamically generated.

B

bean - Variable in class fr.umlv.jmmf.matcher.PatternMatcher
 

C

create(Class, String, int) - Static method in class fr.umlv.jmmf.reflect.MultiMethod
construct a multi-method by taking all method named name with argLength parameter(s) in class clazz.
create(Class, String, int, boolean) - Static method in class fr.umlv.jmmf.reflect.MultiMethod
construct a multi-method by taking all method named name with argLength parameter(s) in class clazz.
create(Object) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
generate a specialized adapter.

E

equals(Object) - Method in class fr.umlv.jmmf.reflect.MultiMethod
Compares this MultiMethod against the specified object.

F

fr.umlv.jmmf.adapter - package fr.umlv.jmmf.adapter
This package contains the class AdapterFactory.
fr.umlv.jmmf.matcher - package fr.umlv.jmmf.matcher
This package contains the class PatternMatcher.
fr.umlv.jmmf.reflect - package fr.umlv.jmmf.reflect
This package contains the class MultiMethod that implements the multi-polymorphism mecanism.

G

getAdaptee() - Method in interface fr.umlv.jmmf.adapter.Adapter
return the object wrapped by the adapter.
getDeclaringClass() - Method in class fr.umlv.jmmf.reflect.MultiMethod
return class that contains all methods of the current multi-method.
getExceptionTypes() - Method in class fr.umlv.jmmf.reflect.MultiMethod
return the exception types of the current method.
getInterfaces(Class) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
 
getModifiers() - Method in class fr.umlv.jmmf.reflect.MultiMethod
returns the Java language modifiers for the multi-method represented by this MultiMethod object, as an integer.
getMultiMethodName(String, Class) - Method in interface fr.umlv.jmmf.adapter.MethodMapping
return the name of a multi-method for a given method name.
getMultiMethods(Class) - Static method in class fr.umlv.jmmf.reflect.MultiMethodUtilities
return all the multi-methods contains in the class.
getMultiMethods(Class, boolean) - Static method in class fr.umlv.jmmf.reflect.MultiMethodUtilities
return all the multi-methods contains in the class.
getName() - Method in class fr.umlv.jmmf.reflect.MultiMethod
return the name of the current multi-method.
getParameterTypes() - Method in class fr.umlv.jmmf.reflect.MultiMethod
return the parameter types of the current method. a parameter type is the lowest common subtype of all parameter types of the methods that composed the multi-method.
getReturnType() - Method in class fr.umlv.jmmf.reflect.MultiMethod
return the return type of the current method. a return type is the lowest common subtype of all return types of the methods that composed the multi-method.
getTargetException() - Method in class fr.umlv.jmmf.matcher.MatchingMethodInvocationException
get the exception thrown in the matching method.

H

hashCode() - Method in class fr.umlv.jmmf.reflect.MultiMethod
Returns a hashcode for this MultiMethod.

I

invoke(Object, Object[]) - Method in class fr.umlv.jmmf.reflect.MultiMethod
call the best method of the multi-method according to the type of all items if args array on a specified target object.
invoke(Object, Object[], Class[]) - Method in class fr.umlv.jmmf.reflect.MultiMethod
call the best method of the multi-method according to the type of all items if args array on a specified target object.
isKeepAdapteeInterfaces() - Method in class fr.umlv.jmmf.adapter.AdapterFactory
get the keepAdapteeInterfaces flag. if this flag is true, the interfaces of the adaptee is implemented by the generic adapter.

M

match(String, Object) - Method in class fr.umlv.jmmf.matcher.PatternMatcher
lookup the best method in the multi-method named name and invoke it.
match(String, Object[]) - Method in class fr.umlv.jmmf.matcher.PatternMatcher
lookup the best method in the multi-method named name and invoke it.
match(String, Object[], Class[]) - Method in class fr.umlv.jmmf.matcher.PatternMatcher
lookup the best method in the multi-method named name and invoke it.
MatchingMethodInvocationException - exception fr.umlv.jmmf.matcher.MatchingMethodInvocationException.
This class is the same of InvocationTargetException but extends RuntimeException.
MatchingMethodInvocationException(Exception) - Constructor for class fr.umlv.jmmf.matcher.MatchingMethodInvocationException
construct the MatchingMethodInvocationException with the matching method exception.
MethodMapping - interface fr.umlv.jmmf.adapter.MethodMapping.
interface that discribe mapping between a method and a multi-method.
MultiMethod - class fr.umlv.jmmf.reflect.MultiMethod.
an implementation of the multi-method.
multimethods - Variable in class fr.umlv.jmmf.matcher.PatternMatcher
 
MultiMethodUtilities - class fr.umlv.jmmf.reflect.MultiMethodUtilities.
Support class for multi-method implementation.
MultipleMatchingMethodsException - exception fr.umlv.jmmf.reflect.MultipleMatchingMethodsException.
Exception thrown if multiple matching methods could be called with the given parameter types.
MultipleMatchingMethodsException(String) - Constructor for class fr.umlv.jmmf.reflect.MultipleMatchingMethodsException
construct a MultipleMatchingMethodException with a message.

N

NoMatchingMethodException - exception fr.umlv.jmmf.reflect.NoMatchingMethodException.
Exception thrown if no matching method could be called with the given parameter types.
NoMatchingMethodException(String) - Constructor for class fr.umlv.jmmf.reflect.NoMatchingMethodException
construct a NoMatchingMethodException with a message.

P

PatternMatcher - class fr.umlv.jmmf.matcher.PatternMatcher.
This class ease the use of multi-polymorphism.
PatternMatcher() - Constructor for class fr.umlv.jmmf.matcher.PatternMatcher
create a pattern matcher component.
PatternMatcher(Object) - Constructor for class fr.umlv.jmmf.matcher.PatternMatcher
create a pattern matcher component on a bean object.
printStackTrace() - Method in class fr.umlv.jmmf.matcher.MatchingMethodInvocationException
prints the stack trace of the thrown target exception.
printStackTrace(PrintStream) - Method in class fr.umlv.jmmf.matcher.MatchingMethodInvocationException
prints the stack trace of the thrown target exception to the specified print stream.
printStackTrace(PrintWriter) - Method in class fr.umlv.jmmf.matcher.MatchingMethodInvocationException
prints the stack trace of the thrown target exception to the specified print writer.

S

SEND_ADAPTEE - Static variable in class fr.umlv.jmmf.adapter.AdapterFactory
 
SEND_ADAPTER - Static variable in class fr.umlv.jmmf.adapter.AdapterFactory
 
SEND_NONE - Static variable in class fr.umlv.jmmf.adapter.AdapterFactory
 
setKeepAdapteeInterfaces(boolean) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
set the keepAdapteeInterfaces flag. if this flag is true, the interfaces of the adaptee is implemented by the generic adapter.

T

toString() - Method in class fr.umlv.jmmf.reflect.MultiMethod
return a string representation of the multi-method.

W

wrappResult(Object) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
 

A B C E F G H I M N P S T W
JMMF API
pre-release v0.4

Rémi Forax 1999,2000 Université de Marne la Vallée