Package org.oddjob.web.gson.plugin
Class HierarchicalArrayFactoryBean
java.lang.Object
org.oddjob.web.gson.plugin.HierarchicalArrayFactoryBean
- All Implemented Interfaces:
ArooaValue,ArooaSessionAware,ValueFactory<GsonConfigurator>
public class HierarchicalArrayFactoryBean
extends Object
implements ValueFactory<GsonConfigurator>, ArooaSessionAware
Bean for an
HierarchicalArrayGson to be used in an oj-gson.xml configuration file.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.oddjob.arooa.types.ValueFactory
ValueFactory.Conversions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetArooaSession(ArooaSession session) Accept the current Arooa Session.voidsetComponentClassName(String componentClassName) toValue()Provide an instance of the type this is a factory for.
-
Constructor Details
-
HierarchicalArrayFactoryBean
public HierarchicalArrayFactoryBean()
-
-
Method Details
-
setArooaSession
Description copied from interface:ArooaSessionAwareAccept the current Arooa Session.- Specified by:
setArooaSessionin interfaceArooaSessionAware- Parameters:
session- The Arooa Session. Never null.
-
setComponentClassName
-
toValue
Description copied from interface:ValueFactoryProvide an instance of the type this is a factory for.- Specified by:
toValuein interfaceValueFactory<GsonConfigurator>- Returns:
- An instance of the type. May be null.
- Throws:
ArooaConversionException- If unable to provide a value.
-