|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.internal.services.DefaultDataTypeAnalyzer
public class DefaultDataTypeAnalyzer
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 | |
---|---|
DefaultDataTypeAnalyzer(java.util.Map<java.lang.Class,java.lang.String> configuration)
|
Method Summary | |
---|---|
java.lang.String |
identifyDataType(PropertyAdapter adapter)
Identifies the data type, if known, or returns null if not known. |
void |
objectWasInvalidated()
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). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultDataTypeAnalyzer(java.util.Map<java.lang.Class,java.lang.String> configuration)
Method Detail |
---|
public void objectWasInvalidated()
objectWasInvalidated
in interface InvalidationListener
public java.lang.String identifyDataType(PropertyAdapter adapter)
DataTypeAnalyzer
identifyDataType
in interface DataTypeAnalyzer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |