Details
Description
Greetings,
i may appologize if I choosed the wrong issue type but this isn't really a bug to me more a failure myself.
I am working with an programm which is using castor in version 1.0. Back then there was the "org.exolab.castor.util.LocalConfiguration" so you could read the castor.properties-file via getInstance() and other methods from this "LocalConfiguration".
Now my task is to update the castor files to version 1.3 ant therefore started I with version 1.2 but I found the problem that "org.exolab.castor.util.LocalConfiguration" doesn't exist anymore.
I tried to repleace the function of it with "XMLContext" as it is said on the castor-homepage but I didn't mangaged to find a method to replace the function of the method.
Sadly I am not able to recode the programm because it overwhelmes me on the one hand and on the other hand i simply don't habe the time and ability to do it.
So I would be heavylie statisfied if you could help me out on this one.
-> Is there a similiar way to adept the function of "getInstance()" ? Writing a class is still an option. But I belive there is already a method or s.e. and I am just to blind to find it.
Thanks for your effords in advance,
Simon
Hi Simon, sorry for the long delay.
LocalConfiguration has been replaced by a module specific approach. You should have a look at:
Depending on your usecase org.exolab.castor.xml.XMLContext may be better for you.
Ralf