org.spicefactory.pimento.generator.naming
Interface NamingStrategy

All Known Implementing Classes:
ImplPostfixNamingStrategy, IPrefixNamingStrategy

public interface NamingStrategy

A pluggable strategy for mapping service interface names to their corresponding implementation class name. This mapping is configurable for the Cinnamon source generator to support different kinds of conventions for interface/implementation class name pairs like Product/ProductImpl or IProduct/Product.

Since this will be used in the source generator for client-side proxies, the class names represent ActionScript classes.

Author:
Jens Halm

Method Summary
 String getImplementationClassName(String interfaceName)
          Returns the corresponding name of the ActionScript class implementing the specified service interface.
 

Method Detail

getImplementationClassName

String getImplementationClassName(String interfaceName)
Returns the corresponding name of the ActionScript class implementing the specified service interface. The class names are not fully qualified.

Parameters:
interfaceName - the name of the service interface.
Returns:
the name of the corresponding ActionScript class implementing the specified service interface