History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: EJB-93
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Vance Karimi
Reporter: Olivier THIERRY
Votes: (View)
Watchers: (View)
Operations

If you were logged in you would be able to see more operations.
EJB Cartridge

@andromda.seam.component.role.* tagged value doesn't work

Created: 08/Oct/07 02:22 PM   Updated: 20/Nov/07 05:22 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. Text File patch-ejb-93.txt (5 kb)

Environment: AndroMDA 3.3-SNAPSHOT + EJB3 cartridge


 Description   
The AndroMDA UML profile has two tagged values :
- @andromda.seam.component.role.name
- @andromda.seam.component.role.scope
that are not token in account in EJB3 templates.

I guess these tagged values should be use to generate @Role annotation for Seam components.

Note there's a workaround for this : use seam-components merge point in EJB3MergeMappings.xml file to declare the seam component .

More infos on the forum : http://galaxy.andromda.org/forum/viewtopic.php?t=5201

 All   Comments   Change History      Sort Order:
Comment by Olivier THIERRY [20/Nov/07 05:22 PM]
Here is a patch to make it work.
In the EJB3 metafacade model, I added seamComponentRoleNames and seamComponentRoleScopeTypes attributes to both EJB3Entity and EJB3ValueObject classes. This was already done for EJB3Session. I changed the EJB3Entity and EJB3ValueObject metafacade classes to implement these new methods, then I changed the components.xml.vsl template.

Note I could not test with many roles / scopes (new attributes are Collection) because I just can't understand how you set a collection for a tagged value in Magic Draw ...