public class ComponentClassCacheImpl extends java.lang.Object implements ComponentClassCache
| Constructor and Description |
|---|
ComponentClassCacheImpl(PlasticProxyFactory plasticFactory,
TypeCoercer typeCoercer) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
defaultValueForType(java.lang.String className)
Computes the default value for a field of the given type, returns the appropriate
default value.
|
java.lang.Class |
forName(java.lang.String className)
Gets the Class instance for the given fully-qualified class name.
|
void |
setupInvalidation(InvalidationEventHub hub) |
public ComponentClassCacheImpl(@ComponentLayer PlasticProxyFactory plasticFactory, TypeCoercer typeCoercer)
@PostInjection public void setupInvalidation(@ComponentClasses InvalidationEventHub hub)
public java.lang.Object defaultValueForType(java.lang.String className)
ComponentClassCachedefaultValueForType in interface ComponentClassCacheclassName - type of fieldpublic java.lang.Class forName(java.lang.String className)
ComponentClassCacheforName in interface ComponentClassCacheclassName - fully qualified class name, or a primitive type name, or an array name (in source format)${project.version} - Copyright © 2003-2015 The Apache Software Foundation.