NetKernel APIs


com.ten60.netkernel.module
Class ModuleFactory

java.lang.Object
  extended bycom.ten60.netkernel.module.ModuleFactory

public class ModuleFactory
extends Object

ModuleFactory keeps tabs on existing module definitions and will reuse them on hotRestarts outputs summary of installed and uninstalled modules


Constructor Summary
ModuleFactory()
           
 
Method Summary
 void complete()
          Output summary of changes since last complete()
 ModuleDefinition getModuleFor(String aModuleURIString, ModuleManager aManager)
          Return a ModuleDefinition for a given source URI
 void preParseModules(List aModuleURIStrings)
          pass in the list of module URI strings so that we know what is still used
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleFactory

public ModuleFactory()
Method Detail

preParseModules

public void preParseModules(List aModuleURIStrings)
                     throws NetKernelException
pass in the list of module URI strings so that we know what is still used

Throws:
NetKernelException

getModuleFor

public ModuleDefinition getModuleFor(String aModuleURIString,
                                     ModuleManager aManager)
                              throws Exception
Return a ModuleDefinition for a given source URI

Throws:
Exception

complete

public void complete()
Output summary of changes since last complete()


NetKernel APIs


Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.