on 2021 Jul 12 1:21 PM
Hello, I need to override a method 'render' from SiteMapMediaJob.java with a new implenetation.

Actually this method is performing in AbstractSiteMapGenerator.java

To try override this method I tryied to create new class which extends AbstractSiteMapGenerator.java and create there my new own implenetation of 'render' method.
In acceleratorservices-sprinx.xml I found a definition of bean 'abstractSiteMapGenerator.
To override this bean I create new bean in core-spring.xml with alias to this old bean.
After 'ant clean all' and restart server my application is still performs the old method from AbstractSiteMapGenerator.java....
What am I doing wrong? any suggestion how to implements this correctly?
Request clarification before answering.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.