Interface BeanNamingStrategy

All Known Implementing Classes:
ChainedStrategy, MethodNameStrategy

public interface BeanNamingStrategy

Strategy interface for constructing a bean name from a java method.

Costin Leau, Chris Beams

Method Summary
 java.lang.String getBeanName(ModelMethod beanMethod)
          Create the bean name based on the given method.

Method Detail


java.lang.String getBeanName(ModelMethod beanMethod)
Create the bean name based on the given method. If more contextual information is needed, consider using the ModelMethod API to get access to it or provide hooks inside the implementations.

beanMethod - the method which creates the actual bean instance
the bean name