org.jboss.seam.solder.bean
Class ImmutablePassivationCapableBean<T>
java.lang.Object
org.jboss.seam.solder.bean.AbstractImmutableBean<T>
org.jboss.seam.solder.bean.ImmutableBean<T>
org.jboss.seam.solder.bean.ImmutablePassivationCapableBean<T>
- All Implemented Interfaces:
- Contextual<T>, Bean<T>, PassivationCapable
public class ImmutablePassivationCapableBean<T>
- extends ImmutableBean<T>
- implements 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
.
- Author:
- Stuart Douglas, Pete Muir
- See Also:
ImmutableBean
,
BeanBuilder
Constructor Summary |
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<InjectionPoint> injectionPoints,
ContextualLifecycle<T> beanLifecycle,
String toString)
|
ImmutablePassivationCapableBean
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<InjectionPoint> injectionPoints,
ContextualLifecycle<T> beanLifecycle,
String toString)
getId
public String getId()
- Specified by:
getId
in interface PassivationCapable
Copyright © 2011 Seam Framework. All Rights Reserved.