Can I, and if so how, create interceptors using AOP to redirect a method call on a object? Specifically I want to call a different method everytime send() is executed on a ConfluenceMailQueueItem.
Or if easier, I want to transform/modify the arguments that are passed into the constructor. Is this possible in Confluence?
I know that it is possible with Spring and that Confluence (5.2.3) uses Spring but with all this abstraction with atlassian-plugin.xml I'm not sure what is available to me and what isn't.
Community moderators have prevented the ability to post new answers.
Take a look on this:
https://developer.atlassian.com/display/DOCS/Advanced+Configuration+with+Spring+XML+Files
If it's possible in spring, it might be possible, but you have to find a way to handle the osgi bundle borders...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.