Atomikos Forum

How to divide in two files

in my application I would like to divide the file in two files: in the first one I want to locate properties hiden for the user like service or max_timeout, in the second one there should be properties which the user can decide like output_dir. But I’m not able to execute this division – is there any way to do it?
Sonja Stocker Send private email
Monday, December 14, 2009

You would have to put the system properties in a separate file of your own, look it up before initialization and then use these properties as argument to the constructor of the UserTransactionServiceImp - as here (shown in Spring context):

You can then have the user put whatever they like in the file - the values will be overridden with whatever you supply to the constructor.

Guy Pardon Send private email
Tuesday, December 15, 2009

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics