Joe Chambers wrote:We use a vendor package that accesses spring beans via the bean "name" as in <bean name="/proxy">...</bean>. As we upgrade to spring 3.0 we are trying to use annotation configuration instead of xml.
Since the bean name can include values that are not allowed in bean id's, is there a method for doing this in annotations i.e. Component, Repository...?
Yes, you can put the name of the bean directly in the annotation
But in most cases when you are using annotations that are @Components, then you are also using @Autowired, so bean names at that point become not necessary.