org.rosenvold.spring.convention
Interface NameToClassResolver

All Known Implementing Classes:
DefaultBeanClassResolver, GenericNameToClassResolver

public interface NameToClassResolver

Allows a textual bean name to be mapped to an implementing class

Author:
Kristian Rosenvold

Method Summary
 Class resolveBean(String name, CandidateEvaluator candidateEvaluator)
          Resolve a name to a class
 

Method Detail

resolveBean

Class resolveBean(String name,
                  CandidateEvaluator candidateEvaluator)
Resolve a name to a class

Parameters:
name - The bean name. This will usually be a full class name. If this points to a class, it should be used as a bean directly. If it points to an interface, the implementation should decide how to map this to an implementation class.
candidateEvaluator -
Returns:
A class or null if no resolution can be established. Convention will pass unresolvable names onto the parent context.


Copyright © 2011. All Rights Reserved.