1. An article of manufacture comprising a computer readable storage memory having computer readable instructions tangibly embodied thereon which, when implemented, cause a computer to carry out a plurality of method steps comprising: decomposing a license metric definition into metric-generic and metric-specific logic; compiling the metric-specific logic to generate intermediate code; interpreting the metric-generic logic and dynamically loading the intermediate code to execute a license entitlement calculation in response to a user request, wherein said executing the license entitlement calculation comprises: defining a capacity unit in a default domain based on said license metric definition; calculating capacity in the default domain based on said defined capacity unit; aggregating (i) the capacity unit in the default domain and (ii) the calculated capacity in the default domain to a given deployment domain derived from said user request; and generating a license entitlement report.