Class BeanType

  • Direct Known Subclasses:
    StructType

    public class BeanType
    extends AegisType
    Serializes JavaBeans. There's a really dangerous coding convention in this class, maintainers beware. There are two constructor. The no-args constructor defers, until later, the construction of a BeanTypeInfo. The one-arg constructor gets the BeanTypeInfo passed as a parameter. Aegis doesn't have any uniform discipline of 'construct, set properties, initialize'. Instead, each piece of code that uses the type info needs to call getTypeInfo() instead of referencing the 'info' field.