com.acciente.induction.init.config
Class Config

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

public class Config
extends 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.

Author:
Adinath Raveendra Raj

Nested Class Summary
static class Config.ControllerMapping
          Modular configuration container
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.RedirectMapping
          Modular configuration container
static class Config.RedirectResolver
          Modular configuration container
static class Config.RequestInterceptors
          Modular configuration container
static class Config.Templating
          Modular configuration container
static class Config.ViewMapping
          Modular configuration container
static class Config.ViewResolver
          Modular configuration container
 
Constructor Summary
Config()
           
 
Method Summary
 Config.ControllerMapping getControllerMapping()
          This method is used to access the settings used to configure the controller mapping.
 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.RedirectMapping getRedirectMapping()
          This method is used to access the settings used to configure the redirect mapping.
 Config.RedirectResolver getRedirectResolver()
          This method is used to access the settings used to configure the redirect resolver.
 Config.RequestInterceptors getRequestInterceptors()
          This method is used to access the configured request interceptor list.
 Config.Templating getTemplating()
          This method provides access to the configuration of the template engine.
 Config.ViewMapping getViewMapping()
          This method is used to access the settings used to configure the view mapping.
 Config.ViewResolver getViewResolver()
          This method is used to access the settings used to configure the view resolver.
 String toString()
           
 String toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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

getControllerMapping

public Config.ControllerMapping getControllerMapping()
This method is used to access the settings used to configure the controller mapping.

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

getViewMapping

public Config.ViewMapping getViewMapping()
This method is used to access the settings used to configure the view mapping.

Returns:
an object reference that keeps the view mapping config settings

getRedirectMapping

public Config.RedirectMapping getRedirectMapping()
This method is used to access the settings used to configure the redirect mapping.

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

getRequestInterceptors

public Config.RequestInterceptors getRequestInterceptors()
This method is used to access the configured request interceptor list.

Returns:
an object reference that keeps the request interceptor list config settings

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

getViewResolver

public Config.ViewResolver getViewResolver()
This method is used to access the settings used to configure the view resolver.

Returns:
an object reference that keeps the view 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 String toString()
Overrides:
toString in class Object

toXML

public String toXML()


Copyright © 2008-2013 Acciente, LLC. All Rights Reserved.