public class ImmutablePassivationCapableBeanWrapper<T> extends ImmutableBeanWrapper<T> implements javax.enterprise.inject.spi.PassivationCapable
PassivationCapable version of an ImmutableBeanWrapper.
You can easily create instances of this class with the
WrappingBeanBuilder.
ImmutableBeanWrapper,
WrappingBeanBuilder| Constructor and Description |
|---|
ImmutablePassivationCapableBeanWrapper(javax.enterprise.inject.spi.Bean<T> bean,
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,
String toString,
String id)
Instantiate a new
ImmutableBeanWrapper for a PassivationCapable Bean. |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
create, destroygetBeanClass, getInjectionPoints, getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isNullable, toStringpublic ImmutablePassivationCapableBeanWrapper(javax.enterprise.inject.spi.Bean<T> bean, 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, String toString, String id)
ImmutableBeanWrapper for a PassivationCapable Bean.bean - the bean to wrapped the lifecycle toname - the name of the beanqualifiers - the qualifiers of the beanscope - the scope of the beanstereotypes - the bean's stereotypestypes - the types of the beanalternative - whether the bean is an alternativenullable - true if the bean is nullabletoString - the string which should be returned by #BaseImmutableBean.toString()id - the passivationId which gets returned by getId()public String getId()
getId in interface javax.enterprise.inject.spi.PassivationCapableCopyright © 2015 The Apache Software Foundation. All rights reserved.