org.jboss.webbeans.util
Class Beans

java.lang.Object
  extended by org.jboss.webbeans.util.Beans

public class Beans
extends java.lang.Object

Helper class for bean inspection

Author:
Pete Muir

Constructor Summary
Beans()
           
 
Method Summary
static java.util.Set<FieldInjectionPoint<?>> getFieldInjectionPoints(AnnotatedClass<?> annotatedItem, Bean<?> declaringBean)
           
static boolean isBeanProxyable(Bean<?> bean)
          Indicates if a bean is proxyable
static boolean isPassivatingBean(Bean<?> bean, ManagerImpl manager)
          Indicates if a bean is passivating
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Beans

public Beans()
Method Detail

isPassivatingBean

public static boolean isPassivatingBean(Bean<?> bean,
                                        ManagerImpl manager)
Indicates if a bean is passivating

Parameters:
bean - The bean to inspect
Returns:
True if passivating, false otherwise

isBeanProxyable

public static boolean isBeanProxyable(Bean<?> bean)
Indicates if a bean is proxyable

Parameters:
bean - The bean to test
Returns:
True if proxyable, false otherwise

getFieldInjectionPoints

public static java.util.Set<FieldInjectionPoint<?>> getFieldInjectionPoints(AnnotatedClass<?> annotatedItem,
                                                                            Bean<?> declaringBean)


Copyright © 2011. All Rights Reserved.