org.jboss.seam.spring.factorybean
Interface CdiBeanLookup<T>

All Known Implementing Classes:
NamedCdiBeanLookup, TypeSafeCdiBeanLookup

public interface CdiBeanLookup<T>

A strategy for looking up a CDI bean instance in a BeanManager


Method Summary
 Class<?> getExpectedType()
           
 T lookupBean(javax.enterprise.inject.spi.BeanManager beanManager)
          Look up a bean instance in the given BeanManager
 

Method Detail

lookupBean

T lookupBean(javax.enterprise.inject.spi.BeanManager beanManager)
Look up a bean instance in the given BeanManager

Parameters:
beanManager -
Returns:

getExpectedType

Class<?> getExpectedType()
Returns:
the expected type of this lookup, if any (can be null, meaning that the type is not known)


Copyright © 2011 Seam Framework. All Rights Reserved.