JMMF API
pre-release v0.5

fr.umlv.jmmf.reflect
Class DefaultInvocationModel

java.lang.Object
  |
  +--fr.umlv.jmmf.reflect.DefaultInvocationModel
All Implemented Interfaces:
InvocationModel

public class DefaultInvocationModel
extends java.lang.Object
implements InvocationModel

default java subtyping rules. Override this class to change the default subtyping rules.

Version:
0.5.5
Author:
Remi Forax

Constructor Summary
protected DefaultInvocationModel()
          default contructor. this class is a singleton class, use @link #getDefaultModel() to obtain an instance.
 
Method Summary
static InvocationModel getDefaultModel()
          return an instance of the current class.
 java.lang.Class[] getSuperTypes(java.lang.Class c)
          return all super types of a given class.
 boolean requestInvocation(InvocationRequest request)
          this implementation always return false;
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultInvocationModel

protected DefaultInvocationModel()
default contructor. this class is a singleton class, use @link #getDefaultModel() to obtain an instance.
Method Detail

getSuperTypes

public java.lang.Class[] getSuperTypes(java.lang.Class c)
return all super types of a given class.
Specified by:
getSuperTypes in interface InvocationModel

requestInvocation

public boolean requestInvocation(InvocationRequest request)
this implementation always return false;
Specified by:
requestInvocation in interface InvocationModel
Tags copied from interface: InvocationModel
Returns:
true is the request object was changed, false otherwise.

getDefaultModel

public static final InvocationModel getDefaultModel()
return an instance of the current class.

JMMF API
pre-release v0.5

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