de.smartics.properties.integration.cdi.extension
Class CdiBeanHelper

Package class diagram package CdiBeanHelper
java.lang.Object
  extended by de.smartics.properties.integration.cdi.extension.CdiBeanHelper

public final class CdiBeanHelper
     
     
extends Object

Helper to find beans in the bean manager.


Method Summary
static
<T> List<T>
find(javax.enterprise.inject.spi.BeanManager beanManager, Class<T> clazz)
          Find beans of given clazz in bean manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

find

public static <T> List<T> find(javax.enterprise.inject.spi.BeanManager beanManager,
                               Class<T> clazz)
Find beans of given clazz in bean manager.

Type Parameters:
T - the type.
Parameters:
beanManager - the cdi bean manager.f
clazz - the class for which an bean is searched.
Returns:
list of cdi beans of given class.


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.