org.dbforms.config
Class DbFormsConfigRegistry

java.lang.Object
  extended by org.dbforms.config.DbFormsConfigRegistry

public class DbFormsConfigRegistry
extends Object

Registry for DbFormsConfig classes

Author:
Luca Fossato

Constructor Summary
protected DbFormsConfigRegistry()
          Protected constructor
 
Method Summary
static DbFormsConfigRegistry instance()
          Get the instance of DatabaseEventFactory class.
 DbFormsConfig lookup()
          Look up the default DbFormsConfig object stored into the registry.
 void register(DbFormsConfig config)
          Register the input DbFormsConfig object into the registry as the default config object.
 void setServletContext(ServletContext servletContext)
          Sets the servletContext attribute of the DbFormsConfigRegistry object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbFormsConfigRegistry

protected DbFormsConfigRegistry()
Protected constructor

Method Detail

instance

public static DbFormsConfigRegistry instance()
Get the instance of DatabaseEventFactory class.

Returns:
the instance of DatabaseEventFactory class

setServletContext

public void setServletContext(ServletContext servletContext)
Sets the servletContext attribute of the DbFormsConfigRegistry object

Parameters:
servletContext - The new servletConfig value

lookup

public DbFormsConfig lookup()
                     throws Exception
Look up the default DbFormsConfig object stored into the registry.

Returns:
Description of the Return Value
Throws:
Exception - if the lookup operation fails

register

public void register(DbFormsConfig config)
Register the input DbFormsConfig object into the registry as the default config object.

Parameters:
config - the DbFormsConfig object


Copyright © 2002-2006 DbForms. All Rights Reserved.