org.jboss.weld.resolution
Class NameBasedResolver

java.lang.Object
  extended by org.jboss.weld.resolution.NameBasedResolver

public class NameBasedResolver
extends Object

Implementation of name based bean resolution

Author:
Pete Muir

Constructor Summary
NameBasedResolver(BeanManagerImpl manager, Iterable<? extends javax.enterprise.inject.spi.Bean<?>> allBeans)
          Constructor
 
Method Summary
 void clear()
          Reset all cached injection points.
 Set<javax.enterprise.inject.spi.Bean<?>> resolve(String name)
          Get the possible beans for the given name
 String toString()
          Gets a string representation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NameBasedResolver

public NameBasedResolver(BeanManagerImpl manager,
                         Iterable<? extends javax.enterprise.inject.spi.Bean<?>> allBeans)
Constructor

Method Detail

clear

public void clear()
Reset all cached injection points. You must reset all cached injection points when you add a bean to the manager


resolve

public Set<javax.enterprise.inject.spi.Bean<?>> resolve(String name)
Get the possible beans for the given name

Parameters:
name - The name to match
Returns:
The set of matching beans

toString

public String toString()
Gets a string representation

Overrides:
toString in class Object
Returns:
A string representation


Copyright © 2013 Seam Framework. All Rights Reserved.