edu.rit.m2mi
Class InvocationFactory

java.lang.Object
  extended by edu.rit.m2mi.InvocationFactory
Direct Known Subclasses:
MultiInvocationFactory, OmniInvocationFactory, UniInvocationFactory

public abstract class InvocationFactory
extends Object

Class InvocationFactory is the abstract base class for a factory object that creates Invocation objects.


Constructor Summary
InvocationFactory()
          Construct a new invocation factory.
 
Method Summary
abstract  Invocation newInvocation(Eoid theEoid, MethodDescriptor theMethodDescriptor, MethodInvoker theMethodInvoker)
          Create a new invocation object with the given EOID, method descriptor, and method invoker.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationFactory

public InvocationFactory()
Construct a new invocation factory.

Method Detail

newInvocation

public abstract Invocation newInvocation(Eoid theEoid,
                                         MethodDescriptor theMethodDescriptor,
                                         MethodInvoker theMethodInvoker)
Create a new invocation object with the given EOID, method descriptor, and method invoker.

Parameters:
theEoid - EOID.
theMethodDescriptor - Method descriptor.
theMethodInvoker - Method invoker.
Returns:
New invocation object.
Throws:
NullPointerException - (unchecked exception) Thrown if any argument is null.


Copyright © 2001-2006 by Alan Kaminsky. All rights reserved. Send comments to ark­@­cs.rit.edu.