Make UrlBindingFactory pluggable

Description

I've seen that was closed but as far as I understand the comment in the ticket, the issue is not fixed but simply closed.

I needed this feature recently, so I have modified the stripes sources to match the URLs using Java-Regex-Patterns that are compiled from the @UrlBinding value.
While I understand that the current implementation is probably way better performance-wise since no regular expressions are used, it would be great if the URL-routing mechanism could be made more flexible/pluggable.
From my experience, it is not possible to change the current behaviour without having to modify stripes itself, since the class UrlBindingFactory is implemented as a singleton.
So even if there is no interest in having a more flexible URL routing mechanism in the core stripes distribution, it would be really great to refactor the core to that extend, that one can easily customize the URL -> ActionBean resolution.

Environment

None

Status

Assignee

Unassigned

Reporter

ChristianS

Labels

None

Tester

None

Components

Fix versions

Affects versions

Release 1.5

Priority

Major
Configure