Decebal Suiu
Decebal Suiu
Can we close this issue?
Maybe the same problem is encountered in https://github.com/pf4j/pf4j-spring/issues/18. I see people that use PF4J with Spring (Boot) but I don't know why people using these two projects not share knowledge/projects...
> But i don't see any example of loading this plugin via @Autowired (in Spring Boot) like you say in the documentation https://github.com/pf4j/pf4j-spring/blob/master/demo/app/src/main/java/org/pf4j/demo/Greetings.java#L30
I don't understand your question, and what you are looking for. Take a look at demo application to see a concrete example. They are some examples/projects available on internet. >...
> So, if i do something like this, i will obtain that HelloPlugin implementation? ```java SpringPlugin plugin = (SpringPlugin) pluginManager.whichPlugin(MyService.class); ``` where `MyService` is a class from your plugin. You...
After I read again the description of the issue I want too add more clarifications: > Can you show me some example to see how to do that Autowired of...
> Debugging it, within the class AbstractPluginManager the map plugins is always empty My advice for you is to start with [quickstart](https://pf4j.org/dev/quickstart.html) or/and Spring [demo](https://github.com/pf4j/pf4j-spring/tree/master/demo). Did you started your application...
OK. Please share the project maybe I have some time to take a look.
@Vikcen What is the status of this issue? Can we close it?
I don't understand why you say that `ChatHistoryRepository` is an extension point. Put the log of PF4J on trace or debug (see demo) and see the details.