org.apache.java.recycle
Class ControllerFactory

java.lang.Object
  |
  +--org.apache.java.recycle.ControllerFactory

public class ControllerFactory
extends java.lang.Object

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

Version:
$Revision: 1.3 $ $Date: 1999/06/24 00:50:49 $

Field Summary
static boolean DEBUG
           
 
Constructor Summary
ControllerFactory()
           
 
Method Summary
static Controller create()
          Create the default Controller.
static Controller 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, registerNatives, toString, wait, wait, wait
 

Field Detail

DEBUG

public static final boolean DEBUG
Constructor Detail

ControllerFactory

public ControllerFactory()
Method Detail

create

public static Controller create()
Create the default Controller.

create

public static Controller 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.