org.springframework.config.java.naming
Interface BeanNamingStrategy
- All Known Implementing Classes:
- ChainedStrategy, MethodNameStrategy
public interface BeanNamingStrategy
Strategy interface for constructing a bean name from the java method.
- Author:
- Costin Leau
getBeanName
String getBeanName(Method beanCreationMethod)
- Create the bean name based on the given method. If more contextual
information is needed, consider using the Method API to get access to it
or provide hooks inside the implementations.
- Parameters:
beanCreationMethod
- the method which creates the actual bean
instance
- Returns:
- the bean name
Copyright � 2005-2008 Spring Framework. All Rights Reserved.