Make UrlBindingFactory pluggable
--------------------------------
Key: STS-662
URL: http://www.stripesframework.org/jira/browse/STS-662
Project: Stripes
Issue Type: Improvement
Components: ActionBean Dispatching
Affects Versions: Release 1.5
Reporter: Christian Schwanke
I've seen that STS-617 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development