Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RegexpMethodMatcherAdvisor with include/exclude lists [SPR-1183] #5886

Closed
spring-issuemaster opened this issue Jul 28, 2005 · 1 comment
Closed

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Jul 28, 2005

Andres Almiray opened SPR-1183 and commented

Allow a RegexpMethodMatcherAdvisor to have 2 lists of patterns, with the following logic:
if the current candidate matches de include list, then test if it matches the exclude list; if the candidate matches the second pattern the advice is not applied.

This is useful if you need a broad include pattern and want to left out some candidates.
The current approach with RegexpMethodMatcherAdvisor is:
1- define a very restrictive set of patterns (method by method)
2- change the code to abide to a naming standard suited for a less restrictive set of patterns

I already have code that solves this feature and would like to contribute it.


Affects: 1.2.3

Attachments:

1 votes, 1 watchers

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Aug 2, 2005

Andres Almiray commented

source & tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.