public class ImmutableBean<T> extends BaseImmutableBean<T>
| Constructor and Description | 
|---|
| ImmutableBean(Class<?> beanClass,
             String name,
             Set<java.lang.annotation.Annotation> qualifiers,
             Class<? extends java.lang.annotation.Annotation> scope,
             Set<Class<? extends java.lang.annotation.Annotation>> stereotypes,
             Set<Type> types,
             boolean alternative,
             boolean nullable,
             Set<javax.enterprise.inject.spi.InjectionPoint> injectionPoints,
             String toString,
             ContextualLifecycle<T> contextualLifecycle)Create a new, immutable bean. | 
| Modifier and Type | Method and Description | 
|---|---|
| T | create(javax.enterprise.context.spi.CreationalContext<T> creationalContext) | 
| void | destroy(T instance,
       javax.enterprise.context.spi.CreationalContext<T> creationalContext) | 
getBeanClass, getInjectionPoints, getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isNullable, toStringpublic ImmutableBean(Class<?> beanClass, String name, Set<java.lang.annotation.Annotation> qualifiers, Class<? extends java.lang.annotation.Annotation> scope, Set<Class<? extends java.lang.annotation.Annotation>> stereotypes, Set<Type> types, boolean alternative, boolean nullable, Set<javax.enterprise.inject.spi.InjectionPoint> injectionPoints, String toString, ContextualLifecycle<T> contextualLifecycle)
beanClass - The Bean class, may not be nullname - The bean namequalifiers - The bean's qualifiers, if null, a singleton set of
                            Default is usedscope - The bean's scope, if null, the default scope of
                            Dependent is usedstereotypes - The bean's stereotypes, if null, an empty set is usedtypes - The bean's types, if null, the beanClass and Object
                            will be usedalternative - True if the bean is an alternativenullable - True if the bean is nullableinjectionPoints - the bean's injection points, if null an empty set is usedtoString - the string which should be returned by #BaseImmutableBean.toString()contextualLifecycle - Handler for create(javax.enterprise.context.spi.CreationalContext) and
                            destroy(Object, javax.enterprise.context.spi.CreationalContext)IllegalArgumentException - if the beanClass is nullCopyright © 2014 The Apache Software Foundation. All rights reserved.