Is the class org.apache.xalan.processor.TransformerFactoryImpl
thread safe? Or do I have to a keep local copy for each thread?
is TransformerFactoryImpl of Xalan is thread safe?
Asked Answered
According to the Xalan Transform API document:
A TransformerFactory may not perform mulitple concurrent operations.
I wonder if this note is dictated only by presence of setter methods or something else. –
Starve
It certainly doesn't look thread safe looking at the source
Looking closely in the source suggests that it should be thread safe in case you don't call setter methods after first initialization.
© 2022 - 2024 — McMap. All rights reserved.