public class ImmutablePassivationCapableBean<T> extends ImmutableBean<T> implements javax.enterprise.inject.spi.PassivationCapable
A base class for implementing a PassivationCapable
Bean
. The
attributes are immutable, and collections are defensively copied on
instantiation. It uses the defaults from the specification for properties if
not specified.
This bean delegates it's lifecycle to the callbacks on the provided
ContextualLifecycle
.
ImmutableBean
,
BeanBuilder
Constructor and Description |
---|
ImmutablePassivationCapableBean(String id,
Class<?> beanClass,
String name,
Set<Annotation> qualifiers,
Class<? extends Annotation> scope,
Set<Class<? extends Annotation>> stereotypes,
Set<Type> types,
boolean alternative,
boolean nullable,
Set<javax.enterprise.inject.spi.InjectionPoint> injectionPoints,
ContextualLifecycle<T> beanLifecycle,
String toString) |
Modifier and Type | Method and Description |
---|---|
String |
getId() |
create, destroy
getBeanClass, getInjectionPoints, getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isNullable, toString
public ImmutablePassivationCapableBean(String id, Class<?> beanClass, String name, Set<Annotation> qualifiers, Class<? extends Annotation> scope, Set<Class<? extends Annotation>> stereotypes, Set<Type> types, boolean alternative, boolean nullable, Set<javax.enterprise.inject.spi.InjectionPoint> injectionPoints, ContextualLifecycle<T> beanLifecycle, String toString)
public String getId()
getId
in interface javax.enterprise.inject.spi.PassivationCapable
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.