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>
ValueLoaderFactory
implementation.- 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 ValueLoader
createValueLoader(T object)
Creates theValueLoader
for the object.ValueName[]
getValueNames()
Obtains the listing ofValueName
instances that can be loaded.
-
-
-
Constructor Detail
-
ValueLoaderFactoryImpl
public ValueLoaderFactoryImpl(StatelessValueLoader delegate)
Initiate.- Parameters:
delegate
- DelegateStatelessValueLoader
to load values.
-
-
Method Detail
-
createValueLoader
public ValueLoader createValueLoader(T object) throws java.lang.Exception
Description copied from interface:ValueLoaderFactory
Creates theValueLoader
for the object.- Specified by:
createValueLoader
in interfaceValueLoaderFactory<T>
- Parameters:
object
- Object to have values loaded onto it.- Returns:
ValueLoader
for the object.- Throws:
java.lang.Exception
- If fails to create theValueLoader
.
-
getValueNames
public ValueName[] getValueNames()
Description copied from interface:ValueLoaderFactory
Obtains the listing ofValueName
instances that can be loaded.- Specified by:
getValueNames
in interfaceValueLoaderFactory<T>
- Returns:
- Listing of
ValueName
instances that can be loaded.
-
-