Referencing profiles and Java profile implementations

 

Overview

This step allows us to define the elements to be incorporated into the MDA component. It is possible to reference a number of profiles and Java profile implementations.

 

It could be a good idea, for example, to define a Java MDA component which only references profiles and another Java MDA component which only references Java profile implementations. In the first case, the Java MDA component, after deployment, will only propose extensions which can be defined in the UML model. In the second case, the Java MDA component, after deployment, will propose both extensions and implementations.

 

 

Referencing profiles

Steps:

1.      In the explorer, click on the Java MDA component.

2.      Click on the  and confirm.

3.      The dialog box for the profiles to reference opens. Select the profile to reference.

4.      Confirm by clicking on “OK”.

 

Figure 176. Example of a Java MDA component referencing extensions only

 

 

Referencing Java profile implementations

The steps to reference a Java profile implementation are the same as those to reference a profile. When a Java profile implementation is referenced by the Java MDA component, the profiles implemented by the Java profile implementation are implicitly referenced by the Java MDA component, and there is no need to also reference the profiles.

 

Figure 177. Example of a Java MDA component referencing extensions and Java implementations