Because is not for the "user". I'm developing one logging module and I want other developers to be able to provide different's ways of making the log (let's say, DAO with hibernate and JPA, memory,...
Type: Posts; User: Shagrash; Keyword(s):
Because is not for the "user". I'm developing one logging module and I want other developers to be able to provide different's ways of making the log (let's say, DAO with hibernate and JPA, memory,...
I already understood that you can scan all the components with the @ComponentScan. That I already know it. The problem is how can I let the user to explicitly specify which ones he want to scan by...
Ok. I can make the application context to add all the configuration classes that he can find. But the problem is doing that automatically and from the main Configuration class so the structure would...
I know that...but there really is a need in this case because I just want these specific configuration files to be imported (not only detected, but imported so that the main application context can...
Hey,
This trouble is related with the java-based configuration model for Spring.
I'm having a lots of problems trying to programmatically import configuration classes from one external...