org.davesag.generica
Class WebApp.Factory

java.lang.Object
  extended byorg.davesag.generica.WebApp.Factory
All Implemented Interfaces:
Serializable
Enclosing class:
WebApp

public static class WebApp.Factory
extends Object
implements Serializable

Inner Factory class that loads a named WebApp.

See Also:
Serialized Form

Constructor Summary
WebApp.Factory()
           
 
Method Summary
static WebApp getInstance(String classname)
          Gets the WebApp Instance based on the class name provided.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebApp.Factory

public WebApp.Factory()
Method Detail

getInstance

public static WebApp getInstance(String classname)
                          throws ClassNotFoundException
Gets the WebApp Instance based on the class name provided.

Parameters:
classname - The fully qualified class name of the WebApp Implementation.
Returns:
The WebApp.
Throws:
ClassNotFoundException - if a WebApp with that classname can not be loaded.


Dave Sag Generica API version 0.5.9 - (prerelease) Copyright 2003 - 2004 Dave Sag.