Package net.officefloor.web.value.load
Class ValueLoaderFactoryImpl<T>
- java.lang.Object
-
- net.officefloor.web.value.load.ValueLoaderFactoryImpl<T>
-
- All Implemented Interfaces:
ValueLoaderFactory<T>
public class ValueLoaderFactoryImpl<T> extends java.lang.Object implements ValueLoaderFactory<T>
ValueLoaderFactoryimplementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ValueLoaderFactoryImpl(StatelessValueLoader delegate)Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueLoadercreateValueLoader(T object)Creates theValueLoaderfor the object.ValueName[]getValueNames()Obtains the listing ofValueNameinstances that can be loaded.
-
-
-
Constructor Detail
-
ValueLoaderFactoryImpl
public ValueLoaderFactoryImpl(StatelessValueLoader delegate)
Initiate.- Parameters:
delegate- DelegateStatelessValueLoaderto load values.
-
-
Method Detail
-
createValueLoader
public ValueLoader createValueLoader(T object) throws java.lang.Exception
Description copied from interface:ValueLoaderFactoryCreates theValueLoaderfor the object.- Specified by:
createValueLoaderin interfaceValueLoaderFactory<T>- Parameters:
object- Object to have values loaded onto it.- Returns:
ValueLoaderfor the object.- Throws:
java.lang.Exception- If fails to create theValueLoader.
-
getValueNames
public ValueName[] getValueNames()
Description copied from interface:ValueLoaderFactoryObtains the listing ofValueNameinstances that can be loaded.- Specified by:
getValueNamesin interfaceValueLoaderFactory<T>- Returns:
- Listing of
ValueNameinstances that can be loaded.
-
-