Class | Description |
---|---|
ConcurrentSAXParserFactory |
This class serves as an alternative to the
SAXParserFactory that is provided by the JRE and provides the
following benefits: 1) The static ConcurrentSAXParserFactory.newSAXParser() method does not suffer from the performance problem of
obtaining parser implementations from the classpath, and 2) Since ConcurrentSAXParserFactory.newSAXParser() can be called without
performance concerns, multi-threaded environments (like web applications and portlets) can feel free to call the
method as much as required in each request, in order to maintain thread-safety. |
Copyright © 2018 Liferay, Inc.. All rights reserved.