Package net.officefloor.web.value.load
Class KeyedParameterValueLoaderFactory
- java.lang.Object
-
- net.officefloor.web.value.load.KeyedParameterValueLoaderFactory
-
- All Implemented Interfaces:
StatelessValueLoaderFactory
public class KeyedParameterValueLoaderFactory extends java.lang.Object implements StatelessValueLoaderFactory
StatelessValueLoaderFactory
to load keyed string parameter.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description KeyedParameterValueLoaderFactory(java.lang.String propertyName, java.lang.String methodName)
Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatelessValueLoader
createValueLoader(java.lang.Class<?> clazz)
Creates theStatelessValueLoader
.java.lang.String
getPropertyName()
Obtains the property name for theStatelessValueLoader
.
-
-
-
Method Detail
-
getPropertyName
public java.lang.String getPropertyName()
Description copied from interface:StatelessValueLoaderFactory
Obtains the property name for theStatelessValueLoader
.- Specified by:
getPropertyName
in interfaceStatelessValueLoaderFactory
- Returns:
- Property name for the
StatelessValueLoader
.
-
createValueLoader
public StatelessValueLoader createValueLoader(java.lang.Class<?> clazz) throws java.lang.Exception
Description copied from interface:StatelessValueLoaderFactory
Creates theStatelessValueLoader
.- Specified by:
createValueLoader
in interfaceStatelessValueLoaderFactory
- Parameters:
clazz
-StatelessValueLoader
will be specific to theClass
.- Returns:
StatelessValueLoader
.- Throws:
java.lang.Exception
- If fails to create theStatelessValueLoader
.
-
-