Extend the domain API to provide support for higher customization
commit07e4ac7d8b6778805b4d671ab28b529aed974cac
authorImran M Yousuf <imyousuf@smartitengineering.com>
Tue, 14 Apr 2009 17:00:57 +0000 (14 23:00 +0600)
committerImran M Yousuf <imyousuf@smartitengineering.com>
Tue, 14 Apr 2009 17:00:57 +0000 (14 23:00 +0600)
tree8051646b2d83ca0e496c2e44e1f5035ed51d107a
parentbcec4a58357f672615809338ad5d4dd0f67ec114
Extend the domain API to provide support for higher customization

In order to enable domains to customize their own export, this change
introduces an small 'exim' (Export-Import) API, which specifies 3
interfaces for it, one each for self export/import and the other for ID and
self URI.

If a domain implements any of them the smart-rs module will not use the one
generated from its implementation.

Signed-off-by: Imran M Yousuf <imyousuf@smartitengineering.com>
smart-domain/src/main/java/com/smartitengineering/domain/exim/DomainSelfExporter.java [new file with mode: 0644]
smart-domain/src/main/java/com/smartitengineering/domain/exim/DomainSelfImporter.java [new file with mode: 0644]
smart-domain/src/main/java/com/smartitengineering/domain/exim/IdentityCustomizer.java [new file with mode: 0644]