org.springframework.config.java.context
Class TypeSafeBeanFactoryUtils

java.lang.Object
  extended by org.springframework.config.java.context.TypeSafeBeanFactoryUtils

public final class TypeSafeBeanFactoryUtils
extends Object

For internal use only: subject to backward-incompatible changes.

Author:
Chris Beams

Constructor Summary
TypeSafeBeanFactoryUtils()
           
 
Method Summary
static
<T> T
getBean(ListableBeanFactory beanFactory, Class<T> type)
           
static
<T> T
getBean(ListableBeanFactory beanFactory, Class<T> type, String beanName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeSafeBeanFactoryUtils

public TypeSafeBeanFactoryUtils()
Method Detail

getBean

public static <T> T getBean(ListableBeanFactory beanFactory,
                            Class<T> type)

getBean

public static <T> T getBean(ListableBeanFactory beanFactory,
                            Class<T> type,
                            String beanName)


Copyright � 2005-2008 Spring Framework. All Rights Reserved.