public class ExternalBeanAttributesFactory extends 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> javax.enterprise.inject.spi.BeanAttributes<T> |
of(javax.enterprise.inject.spi.BeanAttributes<T> source,
javax.enterprise.inject.spi.BeanManager manager) |
static void |
validateBeanAttributes(javax.enterprise.inject.spi.BeanAttributes<?> attributes,
javax.enterprise.inject.spi.BeanManager manager)
Validates
BeanAttributes . |
static void |
validateQualifiers(javax.enterprise.inject.spi.BeanAttributes<?> attributes,
javax.enterprise.inject.spi.BeanManager manager) |
static void |
validateScope(javax.enterprise.inject.spi.BeanAttributes<?> attributes,
javax.enterprise.inject.spi.BeanManager manager) |
static void |
validateStereotypes(javax.enterprise.inject.spi.BeanAttributes<?> attributes,
javax.enterprise.inject.spi.BeanManager manager) |
static void |
validateTypes(javax.enterprise.inject.spi.BeanAttributes<?> attributes,
javax.enterprise.inject.spi.BeanManager manager) |
public static <T> javax.enterprise.inject.spi.BeanAttributes<T> of(javax.enterprise.inject.spi.BeanAttributes<T> source, javax.enterprise.inject.spi.BeanManager manager)
source
- source BeanAttributes
.BeanAttributes
.public static void validateBeanAttributes(javax.enterprise.inject.spi.BeanAttributes<?> attributes, javax.enterprise.inject.spi.BeanManager manager)
BeanAttributes
.attributes
- BeanAttributes
to validatepublic static void validateStereotypes(javax.enterprise.inject.spi.BeanAttributes<?> attributes, javax.enterprise.inject.spi.BeanManager manager)
public static void validateQualifiers(javax.enterprise.inject.spi.BeanAttributes<?> attributes, javax.enterprise.inject.spi.BeanManager manager)
public static void validateTypes(javax.enterprise.inject.spi.BeanAttributes<?> attributes, javax.enterprise.inject.spi.BeanManager manager)
public static void validateScope(javax.enterprise.inject.spi.BeanAttributes<?> attributes, javax.enterprise.inject.spi.BeanManager manager)
Copyright © 2016. All rights reserved.