JMMF API
pre-release v0.8
A C D F G H I M N P R S T U

A

AbstractMessage - class fr.umlv.jmmf.hook.AbstractMessage.
Abstract class that provide implementation for common properties of AdapterMessage and MultiMessage.
AbstractMessage() - Constructor for class fr.umlv.jmmf.hook.AbstractMessage
 
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.
AdapterHook - interface fr.umlv.jmmf.hook.AdapterHook.
Hook interface specialized for adapter.
AdapterInnerMessage - interface fr.umlv.jmmf.hook.AdapterInnerMessage.
 
AdapterMessage - interface fr.umlv.jmmf.hook.AdapterMessage.
Root of all adapter messages.
AdapterPostMessage - interface fr.umlv.jmmf.hook.AdapterPostMessage.
 
AdapterPreMessage - interface fr.umlv.jmmf.hook.AdapterPreMessage.
 
addField(String) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
ask to create a new field for all adapters.
addField(String, Object) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
ask to create a new field for all adapters.
addField(String, Object, Map) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
ask to create a new field for all adapters.
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.
addInterface(Class, Class, boolean) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
add an interface for all adapter for which the adaptee implements adapteeClass.
addMultiMethod(Object, MultiMethod) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
add multimethod as an implementation of all adapter.
addMultiMethod(Object, MultiMethod, int) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
add multimethod for an adaptee class.

C

create(Class, String, int) - Method in class fr.umlv.jmmf.reflect.MultiFactory
construct a multi-method by taking all method named name with argLength parameter(s) in class clazz.
create(Class, String, int) - Static method in class fr.umlv.jmmf.reflect.MultiMethod
construct a multi-method by taking all method named name with parameterLength parameter(s) in class clazz.
create(Class, String, int, boolean) - Method in class fr.umlv.jmmf.reflect.MultiFactory
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.

D

defaultTraversal(Method, Object, Object, Object[]) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
called if no method matching.
DefaultTypeModel - class fr.umlv.jmmf.reflect.DefaultTypeModel.
default java subtyping rules.
DefaultTypeModel() - Constructor for class fr.umlv.jmmf.reflect.DefaultTypeModel
 

F

fr.umlv.jmmf.adapter - package fr.umlv.jmmf.adapter
This package contains the class AdapterFactory.
fr.umlv.jmmf.hook - package fr.umlv.jmmf.hook
This package contains interfaces for hooks mecanism.
fr.umlv.jmmf.matcher - package fr.umlv.jmmf.matcher
This package contains the class PatternMatcher.
fr.umlv.jmmf.reflect - package fr.umlv.jmmf.reflect
 

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 the class on which the multi-method is declared.
getDefaultFactory() - Static method in class fr.umlv.jmmf.reflect.MultiFactory
return the default factory instance.
getFactory() - Method in interface fr.umlv.jmmf.adapter.Adapter
return the adapter factory.
getHook() - Method in class fr.umlv.jmmf.adapter.AdapterFactory
get the hook for all adapters.
getHook() - Method in class fr.umlv.jmmf.reflect.MultiFactory
return the hook of the current multi-method factory.
getInterfaces(Class) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
 
getMethod(Class, Class[]) - Method in class fr.umlv.jmmf.reflect.MultiMethod
return the most specific method of the multi-method according to the type of all items if args array on a specified target object.
getMultiMethod() - Method in interface fr.umlv.jmmf.hook.MultiMessage
return the source of the message.
getMultiMethodName() - Method in interface fr.umlv.jmmf.hook.AdapterMessage
return the name of the requested multi-method.
getName() - Method in class fr.umlv.jmmf.reflect.MultiMethod
return the name of the current multi-method.
getParameterLength() - Method in class fr.umlv.jmmf.reflect.MultiMethod
return the number of parameters of the current multi-method.
getParameters() - Method in interface fr.umlv.jmmf.hook.AdapterMessage
get parameters of the requested method.
getParameters() - Method in interface fr.umlv.jmmf.hook.MultiMessage
get parameters of the requested method.
getParameters() - Method in class fr.umlv.jmmf.hook.AbstractMessage
get parameters of the requested method.
getParameterTypes() - Method in interface fr.umlv.jmmf.hook.AdapterMessage
get parameter type of the requested method.
getParameterTypes() - Method in interface fr.umlv.jmmf.hook.MultiMessage
get parameter type of the requested method.
getParameterTypes() - Method in class fr.umlv.jmmf.hook.AbstractMessage
get parameter type of the requested method.
getResult() - Method in interface fr.umlv.jmmf.hook.AdapterPostMessage
return the result of the invocation call.
getResult() - Method in interface fr.umlv.jmmf.hook.MultiPostMessage
return the result of the invocation call.
getResult() - Method in class fr.umlv.jmmf.hook.AbstractMessage
return the result of the invocation call.
getReturnType() - Method in interface fr.umlv.jmmf.hook.AdapterMessage
return the return type of the requested multi-method.
getSource() - Method in interface fr.umlv.jmmf.hook.AdapterMessage
return the source of the message.
getSuperclass(Class) - Method in class fr.umlv.jmmf.reflect.DefaultTypeModel
returns the Class representing the superclass of the entity (class, interface, primitive type or void) represented by this Class.
getSuperclass(Class) - Method in interface fr.umlv.jmmf.reflect.TypeModel
returns the Class representing the superclass of the entity (class, interface, primitive type or void) represented by this Class.
getSuperTypes(Class) - Method in class fr.umlv.jmmf.reflect.DefaultTypeModel
return all super types of a given class.
getSuperTypes(Class) - Method in interface fr.umlv.jmmf.reflect.TypeModel
return all super types of a given class.
getTarget() - Method in interface fr.umlv.jmmf.hook.AdapterPostMessage
return the target object of the target multi-method.
getTarget() - Method in interface fr.umlv.jmmf.hook.MultiMessage
return the target object of the multi-method.
getTarget() - Method in interface fr.umlv.jmmf.hook.AdapterInnerMessage
return the target object of the target multi-method.
getTarget() - Method in class fr.umlv.jmmf.hook.AbstractMessage
return the target object of the message.
getTargetException() - Method in class fr.umlv.jmmf.matcher.MatchingMethodException
get the exception thrown in the matching method.
getTargetMethod() - Method in interface fr.umlv.jmmf.hook.AdapterPostMessage
return the target method.
getTargetMethod() - Method in interface fr.umlv.jmmf.hook.MultiPostMessage
return the target method.
getTargetMethod() - Method in interface fr.umlv.jmmf.hook.MultiInnerMessage
return the target method.
getTargetMethod() - Method in interface fr.umlv.jmmf.hook.AdapterInnerMessage
return the target multi-method.
getTransparency() - Method in class fr.umlv.jmmf.adapter.AdapterFactory
get the transparency flag. if this flag is true, the interfaces of the adaptee is implemented by the generic adapter.
getTypeModel() - Method in class fr.umlv.jmmf.reflect.MultiFactory
return the type model of all multi-methods created with this factory.

H

Hook - interface fr.umlv.jmmf.hook.Hook.
basic interface of all hooks.

I

innerHook(AdapterInnerMessage) - Method in interface fr.umlv.jmmf.hook.AdapterHook
This method is called after the multi-method is found and before its invocation.
innerHook(MultiInnerMessage) - Method in interface fr.umlv.jmmf.hook.MultiHook
This method is call after the best method is found and before it method is called.
insertParameter(int, Object, Class) - Method in interface fr.umlv.jmmf.hook.MultiPreMessage
insert a parameter and it's type into the parameter list.
insertParameter(int, Object, Class) - Method in interface fr.umlv.jmmf.hook.AdapterPreMessage
insert a parameter and it's type into the parameter list.
insertParameter(int, Object, Class) - Method in class fr.umlv.jmmf.hook.AbstractMessage
insert a parameter and it's type into the parameter list.
invoke(Object, Object[]) - Method in class fr.umlv.jmmf.reflect.MultiMethod
call the most specific 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 most specific method of the multi-method according to the type of all items if args array on a specified target object.
isInterface(Class) - Method in class fr.umlv.jmmf.reflect.DefaultTypeModel
return true if the class must be considered as an interface.
isInterface(Class) - Method in interface fr.umlv.jmmf.reflect.TypeModel
return true if the class must be considered as an interface.
isOnlyPublic() - Method in class fr.umlv.jmmf.reflect.MultiMethod
return true is the multi-method is constructed using the onlyPublic flag.
isWrappable(Class) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
return true if the class object is register as wrappable.
isWrappable(Object) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
 

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.
MatchingMethodException - exception fr.umlv.jmmf.matcher.MatchingMethodException.
This class is the root class for all matching exceptions.
MatchingMethodException(Exception) - Constructor for class fr.umlv.jmmf.matcher.MatchingMethodException
construct a MatchingMethodException with an exception raised during the matching algorithm.
MatchingMethodException(String) - Constructor for class fr.umlv.jmmf.matcher.MatchingMethodException
construct a MatchingMethodException with a detail message.
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 a MatchingMethodInvocationException.
Message - interface fr.umlv.jmmf.hook.Message.
basic interface of all messages.
MultiFactory - class fr.umlv.jmmf.reflect.MultiFactory.
Factory class for multi-method implementation.
MultiFactory(TypeModel, MultiHook) - Constructor for class fr.umlv.jmmf.reflect.MultiFactory
Construct a multi-method factory with a type model and a hook.
MultiHook - interface fr.umlv.jmmf.hook.MultiHook.
hook for a multi-model.
MultiInnerMessage - interface fr.umlv.jmmf.hook.MultiInnerMessage.
 
MultiMessage - interface fr.umlv.jmmf.hook.MultiMessage.
 
MultiMethod - class fr.umlv.jmmf.reflect.MultiMethod.
The multi-method object.
MultipleMatchingMethodsException - exception fr.umlv.jmmf.matcher.MultipleMatchingMethodsException.
Exception thrown if multiple matching methods could be called with the given parameter types.
MultipleMatchingMethodsException(Exception) - Constructor for class fr.umlv.jmmf.matcher.MultipleMatchingMethodsException
construct a MultipleMatchingMethodsException with an exception.
MultipleMatchingMethodsException(String) - Constructor for class fr.umlv.jmmf.matcher.MultipleMatchingMethodsException
construct a MultipleMatchingMethodsException with a message.
MultipleMethodsException - exception fr.umlv.jmmf.reflect.MultipleMethodsException.
Exception thrown if multiple matching methods could be called with the given parameter types.
MultipleMethodsException() - Constructor for class fr.umlv.jmmf.reflect.MultipleMethodsException
construct a MultipleMatchingMethodsException without a message.
MultipleMethodsException(String) - Constructor for class fr.umlv.jmmf.reflect.MultipleMethodsException
construct a MultipleMatchingMethodsException with a message.
MultiPostMessage - interface fr.umlv.jmmf.hook.MultiPostMessage.
 
MultiPreMessage - interface fr.umlv.jmmf.hook.MultiPreMessage.
 

N

NoMatchingMethodException - exception fr.umlv.jmmf.matcher.NoMatchingMethodException.
Exception thrown if no matching method could be called with the given parameter types.
NoMatchingMethodException(Exception) - Constructor for class fr.umlv.jmmf.matcher.NoMatchingMethodException
construct a NoMatchingMethodException with an exception.
NoMatchingMethodException(String) - Constructor for class fr.umlv.jmmf.matcher.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.
PatternMatcher(Object, MultiFactory) - Constructor for class fr.umlv.jmmf.matcher.PatternMatcher
create a pattern matcher component on a bean object.
postHook(AdapterPostMessage) - Method in interface fr.umlv.jmmf.hook.AdapterHook
This method is called after the invocation of the multi-method.
postHook(MultiPostMessage) - Method in interface fr.umlv.jmmf.hook.MultiHook
This method is call after the best method is called.
preHook(AdapterPreMessage) - Method in interface fr.umlv.jmmf.hook.AdapterHook
This method is called before the multi-method lookup.
preHook(MultiPreMessage) - Method in interface fr.umlv.jmmf.hook.MultiHook
This method is call before the best method lookup.
printStackTrace() - Method in class fr.umlv.jmmf.matcher.MatchingMethodException
prints the stack trace of the thrown target exception.
printStackTrace(PrintStream) - Method in class fr.umlv.jmmf.matcher.MatchingMethodException
prints the stack trace of the thrown target exception to the specified print stream.
printStackTrace(PrintWriter) - Method in class fr.umlv.jmmf.matcher.MatchingMethodException
prints the stack trace of the thrown target exception to the specified print writer.

R

removeParameter(int) - Method in interface fr.umlv.jmmf.hook.MultiPreMessage
remove a parameter.
removeParameter(int) - Method in interface fr.umlv.jmmf.hook.AdapterPreMessage
remove a parameter.
removeParameter(int) - Method in class fr.umlv.jmmf.hook.AbstractMessage
remove a parameter.

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
 
setAdapteeMultiFactory(MultiFactory) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
set the multi-method factory for adaptee.
setAdapterUnicity(boolean) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
garantee unicity of association between adaptee and adapter.
setHook(AdapterHook) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
set the hook for all adapters.
setMultiMethodName(String) - Method in interface fr.umlv.jmmf.hook.AdapterPreMessage
set the name of the requested multi-method.
setParameters(Object[]) - Method in interface fr.umlv.jmmf.hook.MultiPreMessage
set parameters of the requested method.
setParameters(Object[]) - Method in interface fr.umlv.jmmf.hook.AdapterPreMessage
set parameters of the requested method.
setParameters(Object[]) - Method in class fr.umlv.jmmf.hook.AbstractMessage
set parameters of the requested method.
setParameters(Object[], Class[]) - Method in interface fr.umlv.jmmf.hook.MultiPreMessage
set the arguments of the requested method.
setParameters(Object[], Class[]) - Method in interface fr.umlv.jmmf.hook.AdapterPreMessage
set the arguments of the requested method.
setParameters(Object[], Class[]) - Method in class fr.umlv.jmmf.hook.AbstractMessage
set the arguments of the requested method.
setResult(Object) - Method in interface fr.umlv.jmmf.hook.AdapterPostMessage
set an object as the result of the invocation call.
setResult(Object) - Method in interface fr.umlv.jmmf.hook.MultiPostMessage
set an object as the result of the invocation call.
setResult(Object) - Method in class fr.umlv.jmmf.hook.AbstractMessage
set an object as the result of the invocation call.
setTarget(Object) - Method in interface fr.umlv.jmmf.hook.MultiPreMessage
set the target object of the multi-method.
setTarget(Object) - Method in interface fr.umlv.jmmf.hook.MultiInnerMessage
set the target object of the multi-method.
setTarget(Object) - Method in interface fr.umlv.jmmf.hook.AdapterInnerMessage
set the target object of the target multi-method.
setTarget(Object) - Method in class fr.umlv.jmmf.hook.AbstractMessage
set the target object of the message.
setTransparency(boolean) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
set the transparency flag. if this flag is true, the interfaces of the adaptee is implemented by the generic adapter.
setWrappable(Class, boolean) - Method in class fr.umlv.jmmf.adapter.AdapterFactory
 

T

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

U

updateInnerMessage() - Method in class fr.umlv.jmmf.hook.AbstractMessage
udpate inner-message informations.
updatePostMessage(Object) - Method in class fr.umlv.jmmf.hook.AbstractMessage
udpate post-message informations.
updatePreMessage(Object[], Class[]) - Method in class fr.umlv.jmmf.hook.AbstractMessage
udpate pre-message informations.

A C D F G H I M N P R S T U
JMMF API
pre-release v0.8

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