Is the class org.apache.xalan.processor.TransformerFactoryImpl
thread safe? Or do I have to a keep local copy for each thread?
Asked
Active
Viewed 2,081 times
8

Asaf Mesika
- 1,643
- 4
- 20
- 33
3 Answers
8
According to the Xalan Transform API document:
A TransformerFactory may not perform mulitple concurrent operations.

WhiteFang34
- 70,765
- 18
- 106
- 111
-
I wonder if this note is dictated only by presence of setter methods or something else. – Vadzim Oct 16 '15 at 16:01
0
Looking closely in the source suggests that it should be thread safe in case you don't call setter methods after first initialization.

Vadzim
- 24,954
- 11
- 143
- 151