toolbox.web
Interface Controller

Package class diagram package Controller
All Known Implementing Classes:
ControllerServlet

public interface Controller

The controller interface specifies a pluggable mechanism to develop front controller implementations.


Method Summary
 XMLProperties getConfiguration()
          Return the configuration properties of this controller.
 java.util.Map getProperties()
          Return the global configuration properties as a map.
 java.lang.String getResource()
          Return the name of the configured resource for this controller.
 Validator getValidator(java.lang.String name)
          Return the named Validator instance.
 

Method Detail

getConfiguration

XMLProperties getConfiguration()
Return the configuration properties of this controller.

Returns:
XMLProperties instance.

getValidator

Validator getValidator(java.lang.String name)
Return the named Validator instance.

Parameters:
name - String containing the name of the Validator to return
Returns:
Validator instance.

getProperties

java.util.Map getProperties()
Return the global configuration properties as a map.

Returns:
Map instance containing the global configuration properties.

getResource

java.lang.String getResource()
Return the name of the configured resource for this controller.

Returns:
String containing the name of the configured resource.