org.apache.cocoon.woody
Class DefaultFormManager

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.woody.DefaultFormManager
All Implemented Interfaces:
Disposable, Initializable, Component, Configurable, LogEnabled, Serviceable, ThreadSafe, FormManager

public class DefaultFormManager
extends AbstractLogEnabled
implements FormManager, ThreadSafe, Serviceable, Disposable, Configurable, Component, Initializable

Component implementing the FormManager role.

Version:
$Id: DefaultFormManager.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Field Summary
protected  CacheManager cacheManager
           
protected  Configuration configuration
           
protected  ServiceManager manager
           
protected static String PREFIX
           
protected  SimpleServiceSelector widgetDefinitionBuilderSelector
           
 
Fields inherited from interface org.apache.cocoon.woody.FormManager
ROLE
 
Constructor Summary
DefaultFormManager()
           
 
Method Summary
 void configure(Configuration configuration)
          Configurable
 Form createForm(Source source)
           
 void dispose()
          Disposable
 FormDefinition getFormDefinition(Source source)
           
 void initialize()
           
 void service(ServiceManager serviceManager)
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX

protected static final String PREFIX
See Also:
Constant Field Values

manager

protected ServiceManager manager

configuration

protected Configuration configuration

widgetDefinitionBuilderSelector

protected SimpleServiceSelector widgetDefinitionBuilderSelector

cacheManager

protected CacheManager cacheManager
Constructor Detail

DefaultFormManager

public DefaultFormManager()
Method Detail

service

public void service(ServiceManager serviceManager)
             throws ServiceException
Specified by:
service in interface Serviceable
Throws:
ServiceException

configure

public void configure(Configuration configuration)
               throws ConfigurationException
Configurable

Specified by:
configure in interface Configurable
Throws:
ConfigurationException

initialize

public void initialize()
                throws Exception
Specified by:
initialize in interface Initializable
Throws:
Exception

createForm

public Form createForm(Source source)
                throws Exception
Specified by:
createForm in interface FormManager
Throws:
Exception

getFormDefinition

public FormDefinition getFormDefinition(Source source)
                                 throws Exception
Throws:
Exception

dispose

public void dispose()
Disposable

Specified by:
dispose in interface Disposable


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.