org.jwarp.util.recycle
Class ControllerFactory

java.lang.Object
  |
  +--org.jwarp.util.recycle.ControllerFactory

public class ControllerFactory
extends java.lang.Object

This class provides static methods to create Controllers given their class names.

Version:
$Revision: 1.2 $ $Date: 2000/11/26 11:59:10 $
Author:
Stefano Mazzocchi

Field Summary
static boolean DEBUG
          debug flag
 
Constructor Summary
ControllerFactory()
           
 
Method Summary
static IController create()
          Create the default Controller.
static IController create(java.lang.String name)
          Create the controller indentified by the name.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static final boolean DEBUG
debug flag
Constructor Detail

ControllerFactory

public ControllerFactory()
Method Detail

create

public static IController create()
Create the default Controller.

create

public static IController create(java.lang.String name)
Create the controller indentified by the name. If some error is found during the controller creation, the default Controller is returned.
Parameters:
name - The name

©   O R C A   S y s t e m s