Class SpringInput

  extended by org.mentawai.core.InputWrapper
      extended by org.mentawai.spring.SpringInput
All Implemented Interfaces:
Map, Input

public class SpringInput
extends InputWrapper

Input with built-in Spring support. It will look for the object in the Spring Bean Factory if it cannot find it in the action input.

Davi Luan Carneiro

Nested Class Summary
Nested classes/interfaces inherited from interface java.util.Map
Field Summary
static boolean DEBUG
Constructor Summary
SpringInput(Input input, org.springframework.beans.factory.BeanFactory beanFactory)
Method Summary
 Object getValue(String name)
          Gets a parameter value (any object) with the given name.
Methods inherited from class org.mentawai.core.InputWrapper
clear, containsKey, containsValue, entries, entrySet, get, getBoolean, getBoolean, getBooleanValue, getBooleanValue, getDate, getDate, getDate, getDouble, getDouble, getDoubleValue, getDoubleValue, getEnum, getEnums, getFloat, getFloat, getFloatValue, getFloatValue, getHeader, getHeaderKeys, getInt, getInt, getInts, getIntValue, getIntValue, getIntValues, getLong, getLong, getLongs, getLongValue, getLongValue, getObject, getObject, getProperty, getRoot, getString, getStrings, getStringValue, getStringValues, has, hasValue, inject, inject, isEmpty, keys, keySet, put, putAll, remove, removeInput, removeValue, setInput, setValue, size, values
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Map
equals, hashCode

Field Detail


public static boolean DEBUG
Constructor Detail


public SpringInput(Input input,
                   org.springframework.beans.factory.BeanFactory beanFactory)
Method Detail


public Object getValue(String name)
Description copied from interface: Input
Gets a parameter value (any object) with the given name.

Specified by:
getValue in interface Input
getValue in class InputWrapper
name - the name of the parameter
the parameter value (any object) or null if it doesn't exist.

Copyright © 2013. All Rights Reserved.