Class AbstractImmutableBean<T>

  • All Implemented Interfaces:
    Contextual<T>, Bean<T>, BeanAttributes<T>
    Direct Known Subclasses:
    ImmutableBean

    public abstract class AbstractImmutableBean<T>
    extends Object
    implements Bean<T>

    A base class for implementing 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 class does not provide any bean lifecycle operations

    Author:
    Pete Muir
    See Also:
    ImmutableBean, ImmutableNarrowingBean