code.loader
Class ClassModuleLoader

java.lang.Object
  extended by code.loader.ClassModuleLoader
All Implemented Interfaces:
ModuleLoader

public class ClassModuleLoader
extends java.lang.Object
implements ModuleLoader

The interface implemented by all module loaders.

Class Responsibilities :

  1. provide the common interface for all module loaders: CLASS, TXT, XML
Class Collaborators :
  1. None

Since:
Jul 15, 2005
Author:
Sunita Marathe

Constructor Summary
ClassModuleLoader()
           
 
Method Summary
 CurryModule load(java.lang.String moduleName, java.lang.String moduleFilePath)
          Load the module specified by moduleFilePath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassModuleLoader

public ClassModuleLoader()
Method Detail

load

public CurryModule load(java.lang.String moduleName,
                        java.lang.String moduleFilePath)
                 throws java.lang.Exception
Load the module specified by moduleFilePath

Specified by:
load in interface ModuleLoader
Parameters:
moduleName - module name (without path)
moduleFilePath - module name with absolute path
Throws:
java.lang.Exception