com.caucho.config.inject
Class BeanBuilder<T>

java.lang.Object
  extended by com.caucho.config.inject.BeanBuilder<T>

public class BeanBuilder<T>
extends java.lang.Object

SingletonBean represents a singleton instance exported as a web beans.


Constructor Summary
BeanBuilder(ManagedBeanImpl<T> managedBean)
           
 
Method Summary
 BeanBuilder<T> annotation(java.lang.annotation.Annotation ann)
           
 BeanBuilder<T> annotation(java.util.Collection<java.lang.annotation.Annotation> list)
           
 Bean<T> bean()
           
 BeanBuilder<T> binding(java.util.Collection<java.lang.annotation.Annotation> list)
           
 AnnotatedType<T> getAnnotatedType()
           
 Annotated getExtendedAnnotated()
           
 BeanBuilder<T> init(ConfigProgram init)
           
 Bean<T> injection(InjectionTarget<T> injection)
           
 BeanBuilder<T> name(java.lang.String name)
           
 BeanBuilder<T> qualifier(java.lang.annotation.Annotation ann)
           
 BeanBuilder<T> scope(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
           
 Bean<T> singleton(java.lang.Object value)
           
 BeanBuilder<T> stereotype(java.lang.Class<? extends java.lang.annotation.Annotation> annType)
           
 BeanBuilder<T> stereotype(java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> list)
           
 java.lang.String toString()
           
 BeanBuilder<T> type(java.util.Set<java.lang.reflect.Type> types)
           
 BeanBuilder<T> type(java.lang.reflect.Type... types)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanBuilder

public BeanBuilder(ManagedBeanImpl<T> managedBean)
Method Detail

getAnnotatedType

public AnnotatedType<T> getAnnotatedType()

getExtendedAnnotated

public Annotated getExtendedAnnotated()

name

public BeanBuilder<T> name(java.lang.String name)

qualifier

public BeanBuilder<T> qualifier(java.lang.annotation.Annotation ann)

binding

public BeanBuilder<T> binding(java.util.Collection<java.lang.annotation.Annotation> list)

stereotype

public BeanBuilder<T> stereotype(java.lang.Class<? extends java.lang.annotation.Annotation> annType)

stereotype

public BeanBuilder<T> stereotype(java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> list)

annotation

public BeanBuilder<T> annotation(java.lang.annotation.Annotation ann)

annotation

public BeanBuilder<T> annotation(java.util.Collection<java.lang.annotation.Annotation> list)

scope

public BeanBuilder<T> scope(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)

type

public BeanBuilder<T> type(java.lang.reflect.Type... types)

type

public BeanBuilder<T> type(java.util.Set<java.lang.reflect.Type> types)

init

public BeanBuilder<T> init(ConfigProgram init)

singleton

public Bean<T> singleton(java.lang.Object value)

injection

public Bean<T> injection(InjectionTarget<T> injection)

bean

public Bean<T> bean()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object