History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RIFE-269
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Geert Bevin
Reporter: Steph Meslin-Weber
Votes: 1
Watchers: 1
Operations

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

New autolink element to simplify datalink definitions

Created: 08/Feb/06 12:16 AM   Updated: 14/Aug/06 03:43 AM
Component/s: engine
Affects Version/s: 1.3.1
Fix Version/s: 1.5.1

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Scale: Unknown


 Description  « Hide
Originally suggested by Geert on the rife-user mailing list:

http://article.gmane.org/gmane.comp.java.rife.user/2050

The goal is to create an element <autolink destid="someId"/> that would automatically provide datalinks on matching inputs and outputs between the element containing the autolink and the autolinked element, Geert's example was thus:

<element id="source" implementation="test.Source">
  <output name="id"/>
  <output name="name"/>
  <autolink srcexit="destination"/>
</element>

<element id="destination" implementation="test.Destination">
  <input name="id"/>
  <input name="name"/>
</element>

After creating a site with tightly-coupled elements, I heartily support this addition!

 All   Comments   Work Log   Change History      Sort Order:
Steven Grimm [28/Jun/06 08:11 PM]
Another vote for this, especially if I can do it with annotations. Flow and data links are about the only thing I still put in my per-element XML configuration -- reducing my XML to just a list of elements would be nice.

Geert Bevin [14/Aug/06 03:43 AM]
The support for this indeed includes annotations support. You can simply say:
@autolink(destClass = Target.class)

and the exit is auto-created as well as the datalinks as described above