org.springframework.roo.classpath
Interface ItdDiscoveryService

All Known Implementing Classes:
ItdDiscoveryServiceImpl

public interface ItdDiscoveryService

An ITD store which can be inspected to see if ITDs associated with a type have changed.

Since:
1.2.0
Author:
James Tyrrell

Method Summary
 void addItdTypeDetails(ItdTypeDetails itdTypeDetails)
          Adds the presented ItdTypeDetails to the management service.
 boolean haveItdsChanged(String requestingClass, org.springframework.roo.model.JavaType javaType)
          Indicates whether ITDs associate with the passed in type has changed since last invocation by the requesting class.
 void removeItdTypeDetails(String mid)
          Removes the ItdTypeDetails associated with the presented String.
 

Method Detail

addItdTypeDetails

void addItdTypeDetails(ItdTypeDetails itdTypeDetails)
Adds the presented ItdTypeDetails to the management service.

Parameters:
itdTypeDetails - to be added (required)

haveItdsChanged

boolean haveItdsChanged(String requestingClass,
                        org.springframework.roo.model.JavaType javaType)
Indicates whether ITDs associate with the passed in type has changed since last invocation by the requesting class.

Parameters:
requestingClass - the class requesting the changed types
javaType - the type to lookup to see if a change has occurred
Returns:
a collection of MIDs which represent changed types

removeItdTypeDetails

void removeItdTypeDetails(String mid)
Removes the ItdTypeDetails associated with the presented String.

Parameters:
mid - the ID of the ItdTypeDetails be removed (required)


Copyright © 2009–2015. All rights reserved.