public class ComponentClassCacheImpl extends Object implements ComponentClassCache
| Constructor and Description |
|---|
ComponentClassCacheImpl(PlasticProxyFactory plasticFactory,
TypeCoercer typeCoercer) |
| Modifier and Type | Method and Description |
|---|---|
Object |
defaultValueForType(String className)
Computes the default value for a field of the given type, returns the appropriate
default value.
|
Class |
forName(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 Object defaultValueForType(String className)
ComponentClassCachedefaultValueForType in interface ComponentClassCacheclassName - type of fieldpublic Class forName(String className)
ComponentClassCacheforName in interface ComponentClassCacheclassName - fully qualified class name, or a primitive type name, or an array name (in source format)5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.