public final class Builders extends Object
BuildersProvider implementation with ServiceLoader.BuildersProvider| Modifier and Type | Field and Description |
|---|---|
protected static BuildersProvider |
buildersProvider
BuildersProvider instance loader from ServiceLoader |
| Modifier and Type | Method and Description |
|---|---|
static <T> AnnotatedTypeBuilder<T> |
annotatedType(Class<T> type)
Obtains an
AnnotatedTypeBuilder for the given type |
static <T> BeanBuilder<T> |
bean(Class<T> type)
Obtains a
BeanBuilder for the given type |
static <T> BeanAttributesBuilder<T> |
beanAttributes(Class<T> type)
Obtains a
BeanAttributesBuilder for the given type |
static InjectionPointBuilder |
injectionPoint()
Obtains a
InjectionPointBuilder |
static <T> ObserverMethodBuilder<T> |
observerMethod(Class<T> type)
Obtains a
ObserverMethodBuilder for the given event type |
protected static volatile BuildersProvider buildersProvider
BuildersProvider instance loader from ServiceLoaderpublic static <T> AnnotatedTypeBuilder<T> annotatedType(Class<T> type)
AnnotatedTypeBuilder for the given typeT - generic for typetype - the type that the AnnotatedType to build will representpublic static InjectionPointBuilder injectionPoint()
InjectionPointBuilderpublic static <T> BeanAttributesBuilder<T> beanAttributes(Class<T> type)
BeanAttributesBuilder for the given typeT - generic for typetype - the type of the instance of the configured Beanpublic static <T> BeanBuilder<T> bean(Class<T> type)
BeanBuilder for the given typeT - generic for typetype - the type of the instance of the built Beanpublic static <T> ObserverMethodBuilder<T> observerMethod(Class<T> type)
ObserverMethodBuilder for the given event typeT - generic for typetype - the type of the event for the built ObserverMethodCopyright © 2008-2016 JBoss by Red Hat, Inc.. All Rights Reserved.