public class BeanUtilities extends Object
BeanAttributes
and Bean
s.Modifier and Type | Method and Description |
---|---|
static void |
verifyQualifiers(javax.enterprise.inject.spi.BeanAttributes<?> attributes,
Annotation... expectedAnnotations)
Verifies that the set of qualifiers of a given
BeanAttributes matches the given set of qualifiers. |
static void |
verifyQualifierTypes(javax.enterprise.inject.spi.BeanAttributes<?> attributes,
Class<?>... expectedTypes)
Verifies that the set of qualifiers of a given
BeanAttributes matches the given set of annotation types. |
static void |
verifyQualifierTypes(Set<Annotation> annotations,
Class<?>... expectedTypes) |
static void |
verifyStereotypes(javax.enterprise.inject.spi.BeanAttributes<?> attributes,
Class<?>... expected)
Verifies that the set of stereotypes of a given
BeanAttributes matches the expected stereotypes. |
static void |
verifyTypes(javax.enterprise.inject.spi.BeanAttributes<?> attributes,
Type... expectedTypes)
Verifies that the set of bean types of a given
BeanAttributes matches the expected types. |
public static void verifyTypes(javax.enterprise.inject.spi.BeanAttributes<?> attributes, Type... expectedTypes)
BeanAttributes
matches the expected types.public static void verifyStereotypes(javax.enterprise.inject.spi.BeanAttributes<?> attributes, Class<?>... expected)
BeanAttributes
matches the expected stereotypes.public static void verifyQualifierTypes(javax.enterprise.inject.spi.BeanAttributes<?> attributes, Class<?>... expectedTypes)
BeanAttributes
matches the given set of annotation types.public static void verifyQualifierTypes(Set<Annotation> annotations, Class<?>... expectedTypes)
public static void verifyQualifiers(javax.enterprise.inject.spi.BeanAttributes<?> attributes, Annotation... expectedAnnotations)
BeanAttributes
matches the given set of qualifiers.Copyright © 2016. All rights reserved.