Comments (4)
@decebals Can you give me an answer? Please, my project is in serious trouble now.
from pf4j-spring.
As I said, pf4j-spring
is very light and can be analyzed, debugging or recreated very easy.
I don't use spring in my projects involving PF4J, so my knowledge of this combo (spring-pf4j) is limited.
But if I'll encounter your problem I will try to take a look in SpringExtensionFactory#create method.
Following the flow of the code source, I will investigate SpringExtensionFactory#createWithSpring. I will put some breakpoints in this method (createWithSpring
) and I will put the log level on TRACE
to retrieve more information.
In the end I will take a look on AutowireCapableBeanFactory#createBean (implementation) to see how the bean is created concretely (as singleton, prototype, ...) and I will search on the internet if it's a chance to change the current behavior.
from pf4j-spring.
正如我所说,
pf4j-spring
它非常轻便,可以很容易地进行分析,调试或重新创建。
我在涉及PF4J的项目中没有使用spring,因此我对该组合(spring-pf4j)的了解有限。但是我遇到您的问题,我将尝试看一下SpringExtensionFactory#create方法。
按照代码源的流程,我将研究SpringExtensionFactory#createWithSpring。我将在此方法(
createWithSpring
)中放置一些断点,并放置日志级别TRACE
以检索更多信息。
最后,我将看一下AutowireCapableBeanFactory#createBean(实现),以了解如何具体创建该bean(如单例,原型等),如果有机会更改当前行为,我将在Internet上进行搜索。
Thank you very much. I use pf4j-srping:0.7.0
.
from pf4j-spring.
@799452017 Any update here?
from pf4j-spring.
Related Issues (20)
- update dependencies to newest spring 5.+ versions HOT 1
- Concrete bean could not be received from the application context HOT 1
- SpringPlugin start/stop/start results in Exception HOT 2
- Loading plugin on-runtime : Ambiguous hander methods mapped & ConcurrentModificationException when unregistering routes
- How to update the ‘List<Greeting>’ while some plugins unloaded and deleted? HOT 4
- How to add integration tests for the plugin?
- self contained example HOT 1
- Jpa in plug-in not working HOT 1
- Hi author, Can I send a pull request to PF4J-Spring to support the Spring parent-child context ?
- Injecting beans from plugin in application doesn't work HOT 2
- run exception on pf4j-spring demo
- pf4j plugin needs to refresh and detect changes automatically with spring HOT 6
- How to get this repo versions release notes? HOT 2
- Problems with Using Pf4j-Spring HOT 1
- The real implementation cannot be accessed through the api interface. HOT 2
- When 'spring-boot-devtools' is introduced in the project, the extensions are not available. HOT 2
- How do you extend with kafka HOT 1
- Retrieve Resource from Inside Plugin HOT 1
- When will plan support Spring6.x ? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pf4j-spring.