public class MetadataLocatorUtils<CONTEXT> extends Object implements org.springframework.roo.metadata.MetadataNotificationListener
| Modifier and Type | Class and Description |
|---|---|
static interface |
MetadataLocatorUtils.LocatorEvaluator<CONTEXT>
This interface is used by
MetadataLocatorUtils to evaluate
which values match |
static class |
MetadataLocatorUtils.LocatorEvaluatorByAnnotation
= _LocatorEvaluatorByAnnotation_
Abstract class which implements location by annotation
|
| Constructor and Description |
|---|
MetadataLocatorUtils(MetadataLocatorUtils.LocatorEvaluator<CONTEXT> locator)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkEvictCache(org.springframework.roo.model.JavaType type)
Evict cache from cacheMap if type is found on cacheMapInverse
|
Collection<ClassOrInterfaceTypeDetails> |
getValue(org.springframework.roo.model.JavaType type,
CONTEXT context)
Get value for type
Use cache value if any.
|
void |
notify(String upstreamDependency,
String downstreamDependency) |
public MetadataLocatorUtils(MetadataLocatorUtils.LocatorEvaluator<CONTEXT> locator)
locator - public void notify(String upstreamDependency, String downstreamDependency)
notify in interface org.springframework.roo.metadata.MetadataNotificationListenerpublic void checkEvictCache(org.springframework.roo.model.JavaType type)
type - public Collection<ClassOrInterfaceTypeDetails> getValue(org.springframework.roo.model.JavaType type, CONTEXT context)
type - context - Copyright © 2009–2017. All rights reserved.