# Legato.Beans.BeanDefinition

Models a bean definition consisting of type and content definition.

Summary

Legato.Beans.BeanDefinition | Models a bean definition consisting of type and content definition.
Properties |
type {<Legato.Lang.AnyType>} Type of the bean. |
definition | {Object} Content definition.
Functions |
initialize | Creates a new bean definition.

### Properties

### type {<Legato.Lang.AnyType>} Type of the bean.

### definition

{Object} Content definition.

### Functions

### initialize

> initialize : function( | type,
> | definition | )

Creates a new bean definition.

#### Parameters

type | {<Legato.Lang.AnyType>} type of the bean.
definition | {Object} content definition.

> initialize : function( | type,
> | definition | )

Creates a new bean definition.