org.jmock.core
Interface InvocationDispatcher

All Superinterfaces:
SelfDescribing, Verifiable
All Known Implementing Classes:
AbstractInvocationDispatcher, FIFOInvocationDispatcher, LIFOInvocationDispatcher

public interface InvocationDispatcher
extends Verifiable, SelfDescribing

Since:
1.0

Method Summary
 void add(Invokable invokable)
           
 void clear()
           
 Object dispatch(Invocation invocation)
           
 void setDefaultStub(Stub newDefaultStub)
           
 
Methods inherited from interface org.jmock.core.Verifiable
verify
 
Methods inherited from interface org.jmock.core.SelfDescribing
describeTo
 

Method Detail

dispatch

Object dispatch(Invocation invocation)
                throws Throwable
Throws:
Throwable

setDefaultStub

void setDefaultStub(Stub newDefaultStub)

add

void add(Invokable invokable)

clear

void clear()