Class DefaultDataTypeAnalyzer
java.lang.Object
org.apache.tapestry5.commons.internal.services.DefaultDataTypeAnalyzer
- All Implemented Interfaces:
Runnable
,DataTypeAnalyzer
The default data type analyzer, which is based entirely on the type of the property (and not on annotations or naming
conventions). This is based on a configuration of property type class to string provided as an IoC service
configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionidentifyDataType
(PropertyAdapter adapter) Identifies the data type, if known, or returns null if not known.void
run()
Clears the registry on an invalidation event (this is because the registry caches results, and the keys are classes that may be component classes from the invalidated component class loader).
-
Constructor Details
-
DefaultDataTypeAnalyzer
-
-
Method Details
-
run
Clears the registry on an invalidation event (this is because the registry caches results, and the keys are classes that may be component classes from the invalidated component class loader). -
identifyDataType
Description copied from interface:DataTypeAnalyzer
Identifies the data type, if known, or returns null if not known.- Specified by:
identifyDataType
in interfaceDataTypeAnalyzer
-