How to set Spring weaver parameters in Java configuration class?

I am using Spring AOP with the default provided DefaultContextLoadTimeWeaver. I would like to be able to weave stored objects, and I know that I need to set the weaver option (warning from the console):

warning javax.* types are not being woven because the weaver option '-Xset:weaveJavaxPackages=true' has not been specified

Only the configuration examples in the XML file were found in my search, but I would prefer it to be in my Java configuration class, where all my configurations are. Is there any way to do this?

+4
source share
1 answer

, , javax. *, , , . , .

- , , , . SSCCE, .

+1

All Articles