开发者

is TransformerFactoryImpl of Xalan is thread safe?

Is the class org.apache.xalan.processor.TransformerFactoryImpl thread safe? Or do I have to a keep loca开发者_如何学运维l copy for each thread?


According to the Xalan Transform API document:

A TransformerFactory may not perform mulitple concurrent operations.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜