|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.config.java.naming.ChainedStrategy
public class ChainedStrategy
Chain-like implementation naming strategy.
Allows a stack of strategies to be specified, returning the first non-null name.
Constructor Summary | |
---|---|
ChainedStrategy(BeanNamingStrategy[] strategies)
|
Method Summary | |
---|---|
java.lang.String |
getBeanName(ModelMethod beanCreationMethod)
Create the bean name based on the given method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChainedStrategy(BeanNamingStrategy[] strategies)
Method Detail |
---|
public java.lang.String getBeanName(ModelMethod beanCreationMethod)
BeanNamingStrategy
ModelMethod
API to get access to it or provide hooks inside the
implementations.
getBeanName
in interface BeanNamingStrategy
beanCreationMethod
- the method which creates the actual bean instance
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |