Add priority support to ResourceDomain annotation
commita1ee4b0762b11d6f5a3e68fc96fa3bdcba69dc4d
authorImran M Yousuf <imyousuf@smartitengineering.com>
Thu, 25 Jun 2009 10:07:26 +0000 (25 17:07 +0700)
committerImran M Yousuf <imyousuf@smartitengineering.com>
Thu, 25 Jun 2009 10:07:26 +0000 (25 17:07 +0700)
treee5812beee7f30970c97336ba17fe128a801f0223
parent43486a099829e9df6e6fea27404d74d5287c6da7
Add priority support to ResourceDomain annotation

This is done especially to support interfaces. If a concrete class
implements more than one ResourceDomain annotated domains then priority
will be used to select one and even if then can't resolve to one then,
lexical order on simple classname will be used.

Signed-off-by: Imran M Yousuf <imyousuf@smartitengineering.com>
smart-domain/src/main/java/com/smartitengineering/domain/annotations/ResourceDomain.java