org.jboss.seam.spring.factorybean
Class NamedCdiBeanLookup

java.lang.Object
  extended by org.jboss.seam.spring.factorybean.NamedCdiBeanLookup
All Implemented Interfaces:
CdiBeanLookup<Object>

public class NamedCdiBeanLookup
extends Object
implements CdiBeanLookup<Object>


Constructor Summary
NamedCdiBeanLookup()
           
 
Method Summary
 Class<?> getExpectedType()
           
 Object lookupBean(javax.enterprise.inject.spi.BeanManager beanManager)
          Look up a bean instance in the given BeanManager
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedCdiBeanLookup

public NamedCdiBeanLookup()
Method Detail

setName

public void setName(String name)

lookupBean

public Object lookupBean(javax.enterprise.inject.spi.BeanManager beanManager)
Description copied from interface: CdiBeanLookup
Look up a bean instance in the given BeanManager

Specified by:
lookupBean in interface CdiBeanLookup<Object>
Returns:

getExpectedType

public Class<?> getExpectedType()
Specified by:
getExpectedType in interface CdiBeanLookup<Object>
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.