Expose all public user class methods (including inherited methods) for reflection
Also removes declared constructors hint for user classes which should not be necessary. See gh-29335
This commit is contained in:
parent
f93fda2a95
commit
f6708d194c
|
|
@ -117,8 +117,7 @@ public class GenericApplicationContext extends AbstractApplicationContext implem
|
||||||
MemberCategory.DECLARED_FIELDS);
|
MemberCategory.DECLARED_FIELDS);
|
||||||
|
|
||||||
private static final Consumer<Builder> asProxiedUserClass = hint ->
|
private static final Consumer<Builder> asProxiedUserClass = hint ->
|
||||||
hint.withMembers(MemberCategory.INTROSPECT_DECLARED_CONSTRUCTORS,
|
hint.withMembers(MemberCategory.INVOKE_PUBLIC_METHODS);
|
||||||
MemberCategory.INVOKE_DECLARED_METHODS);
|
|
||||||
|
|
||||||
|
|
||||||
private final DefaultListableBeanFactory beanFactory;
|
private final DefaultListableBeanFactory beanFactory;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue