Return to www.inductionframework.org

com.acciente.induction.init.config
Class Config

java.lang.Object
  extended by com.acciente.induction.init.config.Config

public class Config
extends java.lang.Object

This class is the container for the configuration information used by Induction. It uses inner classes to represent each type of category of configuration information, sometimes there may be two identical looking inner classes but this is done since, though identical, the two classes represent different concepts and as such may diverge in the future.


Nested Class Summary
static class Config.ControllerResolver
          Modular configuration container
static class Config.FileUpload
          Modular configuration container
static class Config.JavaClassPath
          Modular configuration container
static class Config.ModelDefs
          Modular configuration container
static class Config.RedirectResolver
          Modular configuration container
static class Config.Templating
          Modular configuration container
 
Constructor Summary
Config()
           
 
Method Summary
 Config.ControllerResolver getControllerResolver()
          This method is used to access the settings used to configure the controller resolver.
 Config.FileUpload getFileUpload()
          This method is used to access config parameters that control file uploads
 Config.JavaClassPath getJavaClassPath()
          Defined the classpath to be used for loading java class files.
 Config.ModelDefs getModelDefs()
          This method is used to access the model definitions, in particular to add to, and read from the model definitions stored in this configuration.
 Config.RedirectResolver getRedirectResolver()
          This method is used to access the settings used to configure the redirect resolver.
 Config.Templating getTemplating()
          This method provides access to the configuration of the template engine.
 java.lang.String toString()
           
 java.lang.String toXML()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Config

public Config()
Method Detail

getJavaClassPath

public Config.JavaClassPath getJavaClassPath()
Defined the classpath to be used for loading java class files. The classpath is a list of directories, each of which may contain java class sources or compiled class files. Whatever classpath effective with the default classloader prevails, otherwise the paths defined by this configuration are searched after the default system defined classpath is searched.

Returns:
a java classpath definition

getTemplating

public Config.Templating getTemplating()
This method provides access to the configuration of the template engine.

Returns:
a configuration object

getModelDefs

public Config.ModelDefs getModelDefs()
This method is used to access the model definitions, in particular to add to, and read from the model definitions stored in this configuration.

Returns:
an object reference that keeps the model definition information

getControllerResolver

public Config.ControllerResolver getControllerResolver()
This method is used to access the settings used to configure the controller resolver.

Returns:
an object reference that keeps the controller resolver config settings

getRedirectResolver

public Config.RedirectResolver getRedirectResolver()
This method is used to access the settings used to configure the redirect resolver.

Returns:
an object reference that keeps the redirect resolver config settings

getFileUpload

public Config.FileUpload getFileUpload()
This method is used to access config parameters that control file uploads

Returns:
an object reference that keeps the file upload settings

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toXML

public java.lang.String toXML()

Return to www.inductionframework.org

Copyright (c) 2008 Acciente, LLC. All rights reserved.