com.acsinet_solutions.cetia4.controller
Interface ModuleConfiguration


public interface ModuleConfiguration

A module is a generic object in cetia, that may be a servlet, a portlet, or a nested object in a REST environment. Methods in a module may work as controllers. This class allows a user obtain a reference to the individual controllers that are part of a module, so they may be configured individually.

Author:
Santiago Arriaga
See Also:
ConfigurableModule

Method Summary
 ControllerConfiguration getControllerConfiguration(MethodType type, java.lang.String name, int paramSize)
          Get the controller configuration for the controller with the given name and primitive parameter size.
 ControllerConfiguration getControllerConfiguration(MethodType type, java.lang.String name, int paramSize, java.lang.String requestType)
          Get the controller configuration for the controller with the given name, primitive parameter size and request type.
 

Method Detail

getControllerConfiguration

ControllerConfiguration getControllerConfiguration(MethodType type,
                                                   java.lang.String name,
                                                   int paramSize)
Get the controller configuration for the controller with the given name and primitive parameter size. This allows the appropriate selection of a method in a REST or portlet environment. If more than one method is configured for the given type, name and param size ( for different request types ) this method will throw an exception.


getControllerConfiguration

ControllerConfiguration getControllerConfiguration(MethodType type,
                                                   java.lang.String name,
                                                   int paramSize,
                                                   java.lang.String requestType)
Get the controller configuration for the controller with the given name, primitive parameter size and request type. This method is only needed where multiple methods are defined for different request types.