@@ -232,7 +232,7 @@ public class SimpleFunctionRegistry implements FunctionRegistry, FunctionInspect
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (function != null) {
|
if (function != null) {
|
||||||
function = this.wrapInAroundAviceIfNecessary(function);
|
function = this.wrapInAroundAdviceIfNecessary(function);
|
||||||
}
|
}
|
||||||
|
|
||||||
return (T) function;
|
return (T) function;
|
||||||
@@ -270,7 +270,7 @@ public class SimpleFunctionRegistry implements FunctionRegistry, FunctionInspect
|
|||||||
* There is no current use cases in functions where it is used.
|
* There is no current use cases in functions where it is used.
|
||||||
* The approach may change in the future.
|
* The approach may change in the future.
|
||||||
*/
|
*/
|
||||||
private FunctionInvocationWrapper wrapInAroundAviceIfNecessary(FunctionInvocationWrapper function) {
|
private FunctionInvocationWrapper wrapInAroundAdviceIfNecessary(FunctionInvocationWrapper function) {
|
||||||
FunctionInvocationWrapper wrappedFunction = function;
|
FunctionInvocationWrapper wrappedFunction = function;
|
||||||
if (function != null && this.functionAroundWrapper != null) {
|
if (function != null && this.functionAroundWrapper != null) {
|
||||||
wrappedFunction = new FunctionInvocationWrapper(function) {
|
wrappedFunction = new FunctionInvocationWrapper(function) {
|
||||||
|
|||||||
Reference in New Issue
Block a user