org.wildfly.swarm.spi.api.cdi

## Class CommonBeanBuilder<T>

- java.lang.Object
- - org.wildfly.swarm.spi.api.cdi.CommonBeanBuilder<T>

-     public class CommonBeanBuilder<T>
      extends Object

  Author:
    Tomas Remes

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `CommonBeanBuilder<T>` | `addQualifier(Annotation qualifier)`
    `CommonBeanBuilder<T>` | `addType(Type type)`
    `CommonBeanBuilder<T>` | `beanClass(Class<?> beanClass)`
    `CommonBean<T>` | `build()`
    `CommonBeanBuilder<T>` | `createSupplier(Supplier<T> createSupplier)`
    `static <B> CommonBeanBuilder<B>` | `newBuilder(Class<B> beanClass)`
    `CommonBeanBuilder<T>` | `scope(Class<? extends Annotation> scope)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### newBuilder

          public static <B> CommonBeanBuilder<B> newBuilder(Class<B> beanClass)

    - #### beanClass

          public CommonBeanBuilder<T> beanClass(Class<?> beanClass)

    - #### scope

          public CommonBeanBuilder<T> scope(Class<? extends Annotation> scope)

    - #### addQualifier

          public CommonBeanBuilder<T> addQualifier(Annotation qualifier)

    - #### createSupplier

          public CommonBeanBuilder<T> createSupplier(Supplier<T> createSupplier)

    - #### addType

          public CommonBeanBuilder<T> addType(Type type)

    - #### build

          public CommonBean<T> build()

Copyright © 2018 JBoss by Red Hat. All rights reserved.