Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ming zheng
Spring Cloud Function
Commits
8fac1359
Commit
8fac1359
authored
5 years ago
by
Oleg Zhurakousky
Browse files
Options
Download
Email Patches
Plain Diff
Quick fix in the logic to determine 'composed' flag
parent
fde045a7
main
3.0.x
3.1.0.M1-marcin
3.1.x
3.2.x
4.x
cloudevents
fix-artifact-version
fix-build-version
marcin-sleuth
newFR
new_docs_for_old_train
rsocket
spencergibb-patch-1
spencergibb-reenable-routingbrokertests
spencergibb-routing-tcp
spencergibb-rsocket-routing-version-0-1-0
temp-master
v3.2.1
v3.2.0
v3.2.0-RC1
v3.2.0-M3
v3.2.0-M2
v3.2.0-M1
v3.1.6
v3.1.5
v3.1.4
v3.1.3
v3.1.2
v3.1.1
v3.1.0
v3.1.0.M1
v3.1.0-RC1
v3.1.0-M5
v3.1.0-M4
v3.1.0-M3
v3.1.0-M2
v3.0.14.RELEASE
v3.0.13.RELEASE
v3.0.12.RELEASE
v3.0.11.RELEASE
v3.0.10.RELEASE
v3.0.9.RELEASE
v3.0.8.RELEASE
v3.0.7.RELEASE
v3.0.6.RELEASE
v3.0.5.RELEASE
v3.0.4.RELEASE
v3.0.3.RELEASE
v3.0.2.RELEASE
v3.0.1.RELEASE
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
spring-cloud-function-context/src/main/java/org/springframework/cloud/function/context/catalog/BeanFactoryAwareFunctionRegistry.java
+4
-2
...ion/context/catalog/BeanFactoryAwareFunctionRegistry.java
with
4 additions
and
2 deletions
+4
-2
spring-cloud-function-context/src/main/java/org/springframework/cloud/function/context/catalog/BeanFactoryAwareFunctionRegistry.java
+
4
-
2
View file @
8fac1359
...
...
@@ -449,9 +449,11 @@ public class BeanFactoryAwareFunctionRegistry
FunctionInvocationWrapper
(
Object
target
,
Type
functionType
,
String
functionDefinition
,
String
...
acceptedOutputMimeTypes
)
{
this
.
target
=
target
;
this
.
composed
=
!
target
.
getClass
().
getName
().
contains
(
"$$EnhancerBySpringCGLIB"
)
this
.
composed
=
target
instanceof
RoutingFunction
||
(!
target
.
getClass
().
getName
().
contains
(
"$$EnhancerBySpringCGLIB"
)
&&
!
AopUtils
.
isAopProxy
(
target
)
&&
!
AopUtils
.
isJdkDynamicProxy
(
target
)
&&
target
.
getClass
().
getDeclaredFields
().
length
>
1
;
&&
target
.
getClass
().
getDeclaredFields
().
length
>
1
&&
target
.
getClass
().
isSynthetic
());
this
.
functionType
=
functionType
;
this
.
acceptedOutputMimeTypes
=
acceptedOutputMimeTypes
;
this
.
functionDefinition
=
functionDefinition
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help