public class ExternalBeanAttributesFactory
extends java.lang.Object
BeanAttributes based on BeanAttributes provided by an extension. This class handles creating a safe copy as
well as basic validation of provided BeanAttributes.| Modifier and Type | Method and Description |
|---|---|
static <T> BeanAttributes<T> |
of(BeanAttributes<T> source,
BeanManager manager) |
static void |
validateBeanAttributes(BeanAttributes<?> attributes,
BeanManager manager)
Validates
BeanAttributes. |
static void |
validateQualifiers(BeanAttributes<?> attributes,
BeanManager manager) |
static void |
validateScope(BeanAttributes<?> attributes,
BeanManager manager) |
static void |
validateStereotypes(BeanAttributes<?> attributes,
BeanManager manager) |
static void |
validateTypes(BeanAttributes<?> attributes,
BeanManager manager) |
public static <T> BeanAttributes<T> of(BeanAttributes<T> source, BeanManager manager)
source - source BeanAttributes.BeanAttributes.public static void validateBeanAttributes(BeanAttributes<?> attributes, BeanManager manager)
BeanAttributes.attributes - BeanAttributes to validatepublic static void validateStereotypes(BeanAttributes<?> attributes, BeanManager manager)
public static void validateQualifiers(BeanAttributes<?> attributes, BeanManager manager)
public static void validateTypes(BeanAttributes<?> attributes, BeanManager manager)
public static void validateScope(BeanAttributes<?> attributes, BeanManager manager)
Copyright © 2014. All Rights Reserved.