Pochatkin commented on code in PR #2941:
URL: https://github.com/apache/ignite-3/pull/2941#discussion_r1423890614
##########
modules/rest/src/main/java/org/apache/ignite/internal/rest/RestComponent.java:
##########
@@ -83,9 +87,14 @@ public class RestComponent implements IgniteComponent {
/**
* Creates a new instance of REST module.
*/
- public RestComponent(List<Supplier<RestFactory>> restFactories,
RestConfiguration restConfiguration) {
+ public RestComponent(
+ List<Supplier<RestFactory>> restFactories,
+ RestManagerProvider restManagerProvider,
Review Comment:
Becayse I need bean factory for RestManager. I need to inject it to
HttpServerFilter
##########
modules/rest/src/main/java/org/apache/ignite/internal/rest/RestComponent.java:
##########
@@ -83,9 +87,14 @@ public class RestComponent implements IgniteComponent {
/**
* Creates a new instance of REST module.
*/
- public RestComponent(List<Supplier<RestFactory>> restFactories,
RestConfiguration restConfiguration) {
+ public RestComponent(
+ List<Supplier<RestFactory>> restFactories,
+ RestManagerProvider restManagerProvider,
Review Comment:
Because I need bean factory for RestManager. I need to inject it to
HttpServerFilter
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]