org.springframework.roo.classpath
Class TypeCacheImpl

java.lang.Object
  extended by org.springframework.roo.classpath.TypeCacheImpl
All Implemented Interfaces:
TypeCache

@Service
public class TypeCacheImpl
extends Object
implements TypeCache


Constructor Summary
TypeCacheImpl()
           
 
Method Summary
 void cacheFilePathAgainstTypeIdentifier(String typeFilePath, String typeIdentifier)
           
 void cacheType(String typeFilePath, ClassOrInterfaceTypeDetails cid)
           
 void cacheTypeAgainstModule(org.springframework.roo.project.maven.Pom pom, org.springframework.roo.model.JavaType javaType)
           
 Set<String> getAllTypeIdentifiers()
           
 Set<org.springframework.roo.model.JavaType> getAllTypes()
           
 String getPhysicalTypeIdentifier(org.springframework.roo.model.JavaType javaType)
           
 ClassOrInterfaceTypeDetails getTypeDetails(String mid)
           
 String getTypeIdFromTypeFilePath(String typeFilePath)
           
 Set<String> getTypeNamesForModuleFilePath(String moduleFilePath)
           
 Set<String> getTypesForSimpleTypeName(String simpleTypeName)
           
 void removeType(String typeIdentifier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeCacheImpl

public TypeCacheImpl()
Method Detail

cacheFilePathAgainstTypeIdentifier

public void cacheFilePathAgainstTypeIdentifier(String typeFilePath,
                                               String typeIdentifier)
Specified by:
cacheFilePathAgainstTypeIdentifier in interface TypeCache

cacheType

public void cacheType(String typeFilePath,
                      ClassOrInterfaceTypeDetails cid)
Specified by:
cacheType in interface TypeCache

cacheTypeAgainstModule

public void cacheTypeAgainstModule(org.springframework.roo.project.maven.Pom pom,
                                   org.springframework.roo.model.JavaType javaType)
Specified by:
cacheTypeAgainstModule in interface TypeCache

getAllTypeIdentifiers

public Set<String> getAllTypeIdentifiers()
Specified by:
getAllTypeIdentifiers in interface TypeCache

getAllTypes

public Set<org.springframework.roo.model.JavaType> getAllTypes()

getPhysicalTypeIdentifier

public String getPhysicalTypeIdentifier(org.springframework.roo.model.JavaType javaType)
Specified by:
getPhysicalTypeIdentifier in interface TypeCache

getTypeDetails

public ClassOrInterfaceTypeDetails getTypeDetails(String mid)
Specified by:
getTypeDetails in interface TypeCache

getTypeIdFromTypeFilePath

public String getTypeIdFromTypeFilePath(String typeFilePath)
Specified by:
getTypeIdFromTypeFilePath in interface TypeCache

getTypeNamesForModuleFilePath

public Set<String> getTypeNamesForModuleFilePath(String moduleFilePath)
Specified by:
getTypeNamesForModuleFilePath in interface TypeCache

getTypesForSimpleTypeName

public Set<String> getTypesForSimpleTypeName(String simpleTypeName)

removeType

public void removeType(String typeIdentifier)
Specified by:
removeType in interface TypeCache


Copyright © 2009–2015. All rights reserved.