Java static object
Hope someone could help.
Is there any way to convert a static object into a non-static one?
I have problem of accessing DomConfigurator(static class) using log4j(non-static) class and AdapterWrapper(non-static) class.
Now I am trying to create a log file for every AdapterWrapper object that I have created. However, it seems that the latest log file created contains information of other object log file. e.g. log file for AdapterWrapper02 contains information on AdapterWrapper01.
any help would be appreciated.
Thanks.
Is there any way to convert a static object into a non-static one?
I have problem of accessing DomConfigurator(static class) using log4j(non-static) class and AdapterWrapper(non-static) class.
Now I am trying to create a log file for every AdapterWrapper object that I have created. However, it seems that the latest log file created contains information of other object log file. e.g. log file for AdapterWrapper02 contains information on AdapterWrapper01.
any help would be appreciated.
Thanks.
0
Comments