Skip to content

DATACMNS-661 - Improvements in SpelAwareProxyProjectionFactory. #118

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

Closed
wants to merge 2 commits into from

Conversation

thomasdarimont
Copy link

We now allow a SpelExpressionParser to be configured on the SpelAwareProxyProjectionFactory. This parser is then passed on to SpelEvaluatingMethodInterceptor. We also now eagerly pre-parse any SpEL expression in @Value annotations upfront. This allows us to have a faster invoke(..) implementation in SpelEvaluatingMethodInterceptor.

Thomas Darimont added 2 commits March 18, 2015 16:50
We now allow a SpelExpressionParser to be configured on the SpelAwareProxyProjectionFactory. This parser is then passed on to SpelEvaluatingMethodInterceptor. We also now eagerly pre-parse any SpEL expression in @value annotations upfront. This allows us to have a faster invoke(..) implementation in SpelEvaluatingMethodInterceptor.

Original pull request: #118.
thomasdarimont pushed a commit that referenced this pull request Mar 19, 2015
We now allow a SpelExpressionParser to be configured on the SpelAwareProxyProjectionFactory. This parser is then passed on to SpelEvaluatingMethodInterceptor. We also now eagerly pre-parse any SpEL expression in @value annotations on methods of the projection interface. This avoids repeated evaluations during the actual method invocations.

Original pull request: #118.
odrotbohm added a commit that referenced this pull request Mar 19, 2015
Removed the ability to configure a custom SpElExpressionParser for now as it's not really part of the performance optimization. Polished assertions in SpelEvaluatingMethodInterceptor.

Original pull request: #118.
@odrotbohm odrotbohm closed this Mar 19, 2015
@odrotbohm odrotbohm deleted the issue/DATACMNS-661 branch March 19, 2015 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants