Defining bean metadata within components