Amichai Rothman created ARIES-2209:
--------------------------------------

             Summary: Merge ExportReferenceImpl into ExportRegistrationImpl
                 Key: ARIES-2209
                 URL: https://issues.apache.org/jira/browse/ARIES-2209
             Project: Aries
          Issue Type: Bug
          Components: Remote Service Admin
    Affects Versions: rsa-1.16.1
            Reporter: Amichai Rothman


There is a 1:1 relationship between an ImportRegistration and its 
ImportReference, and between an ExportRegistration and its ExportReference. The 
two interfaces are basically two views of the same registration instance, one 
read-only and one modifiable.

ImportRegistrationImpl uses a nice design where it implements both interfaces 
itself, keeping the implementation simple and self-contained.

ExportRegistrationImpl does not use the same design, instead having two 
separate classes which is a bit more cumbersome. For consistency and 
simplicity, It should be refactored to use the same one-instance design used in 
ImportRegistrationImpl.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to