| Modifier and Type | Field and Description |
|---|---|
| private static final Type | |
| private static final Logger | LOGGER
Stores the logger. |
| private static final Type |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Behavior | Returns: the behavior, or null if we could not match one.the bean manager. beanManager, String the value attribute. value)Create a behavior using the FacesBehavior value attribute. |
| public static Converter | Returns: the converter, or null if we could not match one.the bean manager. beanManager, String the value attribute. value)Create a converter using the FacesConverter value attribute. |
| public static Converter | Returns: the converter, or null if we could not match one.the bean manager. beanManager, Class<?> the for class. forClass)Create a converter using the FacesConverter forClass attribute. |
| private static Converter | |
| public static DataModel | |
| public static Validator | Returns: the validator, or null if we could not match one.the bean manager. beanManager, String the value attribute. value)Create a validator using the FacesValidator value attribute. |
| public static <A extends Annotation> Optional | Returns: An Optional that contains an instance of annotation type for which was searched if the annotated contained this.the current bean manager beanManager, Annotated the Annotated in which to search annotated, Class<A> the type of the annotation to search for annotationType)Finds an annotation in an Annotated, taking stereo types into account |
| public static <T> T | Returns: a bean instance adhering to the required typethe required bean type the instance must have type, boolean whether to auto-create bean if not exist create)Returns concrete (non-proxied) bean instance of given class in current context. |
| public static <T> T | |
| public static <T> T | Returns: a bean reference adhering to the required type and qualifiersthe bean manager beanManager, Class<T> the required bean type the reference must have type, Annotation... the required qualifiers the reference must have qualifiers)
|
| public static Object | |
| public static InjectionPoint | getCurrentInjectionPoint(BeanManager beanManager, CreationalContext<?> creationalContext)
Returns the current injection point. |
| public static Map | |
| public static <A extends Annotation> A | getQualifier(InjectionPoint injectionPoint, Class<A> qualifierClass)
Returns the qualifier annotation of the given qualifier class from the given injection point. |
| public static <S extends Annotation> boolean |
| CONVERTER_TYPE | back to summary |
|---|---|
| private static final Type CONVERTER_TYPE | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER Stores the logger. | |
| VALIDATOR_TYPE | back to summary |
|---|---|
| private static final Type VALIDATOR_TYPE | |
| CdiUtils | back to summary |
|---|---|
| private CdiUtils() Constructor. | |
| createBehavior | back to summary |
|---|---|
| public static Behavior createBehavior(BeanManager beanManager, String value) Create a behavior using the FacesBehavior value attribute.
| |
| createConverter | back to summary |
|---|---|
| public static Converter Create a converter using the FacesConverter value attribute.
| |
| createConverter | back to summary |
|---|---|
| public static Converter Create a converter using the FacesConverter forClass attribute.
| |
| createConverter | back to summary |
|---|---|
| private static Converter | |
| createDataModel | back to summary |
|---|---|
| public static DataModel | |
| createValidator | back to summary |
|---|---|
| public static Validator Create a validator using the FacesValidator value attribute.
| |
| getAnnotation | back to summary |
|---|---|
| public static <A extends Annotation> Optional Finds an annotation in an Annotated, taking stereo types into account
| |
| getBeanInstance | back to summary |
|---|---|
| public static <T> T getBeanInstance(Class<T> type, boolean create) Returns concrete (non-proxied) bean instance of given class in current context.
| |
| getBeanReference | back to summary |
|---|---|
| public static <T> T getBeanReference(Class<T> type, Annotation... qualifiers) | |
| getBeanReference | back to summary |
|---|---|
public static <T> T getBeanReference(BeanManager beanManager, Class<T> type, Annotation... qualifiers)
| |
| getBeanReferenceByType | back to summary |
|---|---|
| public static Object getBeanReferenceByType(BeanManager beanManager, Type type, Annotation... qualifiers) | |
| getCurrentInjectionPoint | back to summary |
|---|---|
| public static InjectionPoint getCurrentInjectionPoint(BeanManager beanManager, CreationalContext<?> creationalContext) Returns the current injection point. | |
| getDataModelClassesMap | back to summary |
|---|---|
public static Map
| |
| getQualifier | back to summary |
|---|---|
| public static <A extends Annotation> A getQualifier(InjectionPoint injectionPoint, Class<A> qualifierClass) Returns the qualifier annotation of the given qualifier class from the given injection point. | |
| isScopeActive | back to summary |
|---|---|
| public static <S extends Annotation> boolean isScopeActive(Class<S> scope) Returns true if given scope is active in current context. | |