Class CompositeComponentBeanInfo

  • All Implemented Interfaces:
    BeanInfo, Externalizable, Serializable

    public class CompositeComponentBeanInfo
    extends SimpleBeanInfo
    implements Externalizable
    Implementation of BeanInfo object used by composite components. Instances of this class are found on component attribute map using the key UIComponent.BEANINFO_KEY. The points to take into account for implement this class are this: - The following tags: composite:interface composite:attribute composite:facet composite:valueHolder composite:editableValueHolder composite:actionSource composite:extension must deal with this class, so it is expected methods that manipulate data here are called from their tag handlers. - ViewDeclarationLanguage.retargetAttachedObjects and ViewDeclarationLanguage.retargetMethodExpressions read information contained here - This object goes on attribute map, so it is necessary that this instance should be Serializable. But note that BeanDescriptor is not, so the best way is implements Externalizable interface and implement its methods. The only information we need to be Serializable from this object is the related to BeanDescriptor, but note that serialize information used only in build view time ( like AttachedObjectTarget.ATTACHED_OBJECT_TARGETS_KEY list) is not required and could cause serialization exceptions.
    Version:
    $Revision$ $Date$
    Author:
    Leonardo Uribe (latest modification by $Author$)
    See Also:
    Serialized Form