In Spring MVC 3.0 application, i have defined a Cusotm Log4J logger class. It constructor is private. It has one getInstance() method which create instance of custom Log4J Logger. I want to pass log4j.xml path in its static getInstance() method through Spring bean configuration file.
Please let me know how to achieve it.
Oracle certified Java 8 Programmer I (1Z0-808), Oracle Java Web Service Developer (1z0-897), Oracle certified Java 7 Programmer, SCJA 1.0, SCJP 5.0, SCWCD 5.0, Oracle SQL Fundamentals I, CIW Certified Ecommerce specialist