org.springframework.roo.addon.tostring
Class ToStringMetadataProvider

java.lang.Object
  extended by org.springframework.roo.classpath.itd.AbstractItdMetadataProvider
      extended by org.springframework.roo.addon.tostring.ToStringMetadataProvider
All Implemented Interfaces:
org.springframework.roo.classpath.itd.ItdMetadataProvider, org.springframework.roo.classpath.itd.ItdRoleAwareMetadataProvider, org.springframework.roo.metadata.MetadataNotificationListener, org.springframework.roo.metadata.MetadataProvider

@Service
public final class ToStringMetadataProvider
extends org.springframework.roo.classpath.itd.AbstractItdMetadataProvider

Provides ToStringMetadata.

Since:
1.0
Author:
Ben Alex

Field Summary
 
Fields inherited from class org.springframework.roo.classpath.itd.AbstractItdMetadataProvider
fileManager, metadataDependencyRegistry, metadataService
 
Constructor Summary
ToStringMetadataProvider()
           
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext context)
           
protected  String createLocalIdentifier(org.springframework.roo.model.JavaType javaType, org.springframework.roo.project.Path path)
           
protected  String getGovernorPhysicalTypeIdentifier(String metadataIdentificationString)
           
 String getItdUniquenessFilenameSuffix()
           
protected  org.springframework.roo.classpath.itd.ItdTypeDetailsProvidingMetadataItem getMetadata(String metadataIdentificationString, org.springframework.roo.model.JavaType aspectName, org.springframework.roo.classpath.PhysicalTypeMetadata governorPhysicalTypeMetadata, String itdFilename)
           
 String getProvidesType()
           
 
Methods inherited from class org.springframework.roo.classpath.itd.AbstractItdMetadataProvider
addMetadataTrigger, addProviderRole, bindFileManager, bindMetadataDependencyRegistry, bindMetadataService, get, getIdForPhysicalJavaType, getRoles, isIgnoreTriggerAnnotations, notify, removeMetadataTrigger, removeProviderRole, setDependsOnGovernorBeingAClass, setDependsOnGovernorTypeDetailAvailability, setIgnoreTriggerAnnotations, unbindFileManager, unbindMetadataDependencyRegistry, unbindMetadataService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToStringMetadataProvider

public ToStringMetadataProvider()
Method Detail

activate

protected void activate(org.osgi.service.component.ComponentContext context)

getMetadata

protected org.springframework.roo.classpath.itd.ItdTypeDetailsProvidingMetadataItem getMetadata(String metadataIdentificationString,
                                                                                                org.springframework.roo.model.JavaType aspectName,
                                                                                                org.springframework.roo.classpath.PhysicalTypeMetadata governorPhysicalTypeMetadata,
                                                                                                String itdFilename)
Specified by:
getMetadata in class org.springframework.roo.classpath.itd.AbstractItdMetadataProvider

getItdUniquenessFilenameSuffix

public String getItdUniquenessFilenameSuffix()

getGovernorPhysicalTypeIdentifier

protected String getGovernorPhysicalTypeIdentifier(String metadataIdentificationString)
Specified by:
getGovernorPhysicalTypeIdentifier in class org.springframework.roo.classpath.itd.AbstractItdMetadataProvider

createLocalIdentifier

protected String createLocalIdentifier(org.springframework.roo.model.JavaType javaType,
                                       org.springframework.roo.project.Path path)
Specified by:
createLocalIdentifier in class org.springframework.roo.classpath.itd.AbstractItdMetadataProvider

getProvidesType

public String getProvidesType()


Copyright © 2009-2010 VMware, Inc. All Rights Reserved.