org.spicefactory.pimento.generator.naming
Class ImplPostfixNamingStrategy
java.lang.Object
org.spicefactory.pimento.generator.naming.ImplPostfixNamingStrategy
- All Implemented Interfaces:
- NamingStrategy
public class ImplPostfixNamingStrategy
- extends Object
- implements NamingStrategy
A naming strategy that will prepend Impl to the interface name.
An example interface/implementation class name pair this strategy can be used for
would be ProductService/ProductServiceImpl.
- Author:
- Jens Halm
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImplPostfixNamingStrategy
public ImplPostfixNamingStrategy()
getImplementationClassName
public String getImplementationClassName(String interfaceName)
- Description copied from interface:
NamingStrategy
- Returns the corresponding name of the ActionScript class implementing
the specified service interface. The class names are not fully qualified.
- Specified by:
getImplementationClassName in interface NamingStrategy
- Parameters:
interfaceName - the name of the service interface.
- Returns:
- the name of the corresponding ActionScript class implementing
the specified service interface