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)
ComponentClassCache
defaultValueForType
in interface ComponentClassCache
className
- type of fieldpublic Class forName(String className)
ComponentClassCache
forName
in interface ComponentClassCache
className
- fully qualified class name, or a primitive type name, or an array name (in source format)5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.