Class ComponentClassCacheImpl
- java.lang.Object
- 
- org.apache.tapestry5.internal.services.ComponentClassCacheImpl
 
- 
- All Implemented Interfaces:
- ComponentClassCache
 
 public class ComponentClassCacheImpl extends java.lang.Object implements ComponentClassCache 
- 
- 
Constructor SummaryConstructors Constructor Description ComponentClassCacheImpl(PlasticProxyFactory plasticFactory, TypeCoercer typeCoercer)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectdefaultValueForType(java.lang.String className)Computes the default value for a field of the given type, returns the appropriate default value.java.lang.ClassforName(java.lang.String className)Gets the Class instance for the given fully-qualified class name.voidsetupInvalidation(InvalidationEventHub hub)
 
- 
- 
- 
Constructor Detail- 
ComponentClassCacheImplpublic ComponentClassCacheImpl(@ComponentLayer PlasticProxyFactory plasticFactory, TypeCoercer typeCoercer) 
 
- 
 - 
Method Detail- 
setupInvalidation@PostInjection public void setupInvalidation(@ComponentClasses InvalidationEventHub hub) 
 - 
defaultValueForTypepublic java.lang.Object defaultValueForType(java.lang.String className) Description copied from interface:ComponentClassCacheComputes the default value for a field of the given type, returns the appropriate default value. This is typically null, but may be false (for a primitive boolean) or some version of 0 (for a primitive numeric field). Wrapper types will still be null.- Specified by:
- defaultValueForTypein interface- ComponentClassCache
- Parameters:
- className- type of field
 
 - 
forNamepublic java.lang.Class forName(java.lang.String className) Description copied from interface:ComponentClassCacheGets the Class instance for the given fully-qualified class name.- Specified by:
- forNamein interface- ComponentClassCache
- Parameters:
- className- fully qualified class name, or a primitive type name, or an array name (in source format)
- Returns:
- the class instance
 
 
- 
 
-