+1.  Target can be modified to return the matching artifact.

- James

David Primmer wrote:
I'm using RouteManager and I'd like to have the pattern that was
matched and preferably the route object available to my Adapter.
RouteManager.getTarget() returns a Target object, hiding its richer
RouteTarget object. I'd love to have the RouteTarget available, and
just access it's getRoute. Or, we could extended the Target interface
to allow something like getPattern, as this would be compatible with
regex targets as well.

What do you think?

davep

Reply via email to