org.springframework.roo.classpath
Class ItdDiscoveryServiceImpl

java.lang.Object
  extended by org.springframework.roo.classpath.ItdDiscoveryServiceImpl
All Implemented Interfaces:
ItdDiscoveryService

@Service
public class ItdDiscoveryServiceImpl
extends Object
implements ItdDiscoveryService

Implementation of ItdDiscoveryService.

Since:
1.2.0
Author:
James Tyrrell

Constructor Summary
ItdDiscoveryServiceImpl()
           
 
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 itdTypeDetailsId)
          Removes the ItdTypeDetails associated with the presented String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItdDiscoveryServiceImpl

public ItdDiscoveryServiceImpl()
Method Detail

addItdTypeDetails

public void addItdTypeDetails(ItdTypeDetails itdTypeDetails)
Description copied from interface: ItdDiscoveryService
Adds the presented ItdTypeDetails to the management service.

Specified by:
addItdTypeDetails in interface ItdDiscoveryService
Parameters:
itdTypeDetails - to be added (required)

haveItdsChanged

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

Specified by:
haveItdsChanged in interface ItdDiscoveryService
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

public void removeItdTypeDetails(String itdTypeDetailsId)
Description copied from interface: ItdDiscoveryService
Removes the ItdTypeDetails associated with the presented String.

Specified by:
removeItdTypeDetails in interface ItdDiscoveryService
Parameters:
itdTypeDetailsId - the ID of the ItdTypeDetails be removed (required)


Copyright © 2009–2015. All rights reserved.