Is TransformerFactoryImpl Xalan thread safe?

Is the org.apache.xalan.processor.TransformerFactoryImpl class a thread safe? Or do I need to save a local copy for each thread?

+8
java thread-safety xalan
source share
3 answers

According to the Xalan Transform API :

A TransformerFactory may not perform concurrent mulitple operations.

+8
source share

He certainly does not look thread safe looking at the source

+2
source share

Looking at the source code, we can assume that it should be thread safe if you do not call setter methods after the first initialization.

0
source share

All Articles