Generates the _jspDestroy() method which is responsible for calling the release() method on every tag handler in any of the tag handler pools.
()
| 499 | * any of the tag handler pools. |
| 500 | */ |
| 501 | private void generateDestroy() { |
| 502 | |
| 503 | out.printil("public void _jspDestroy() {"); |
| 504 | out.pushIndent(); |
| 505 | |
| 506 | if (isPoolingEnabled) { |
| 507 | for (String tagHandlerPoolName : tagHandlerPoolNames) { |
| 508 | out.printin(tagHandlerPoolName); |
| 509 | out.println(".release();"); |
| 510 | } |
| 511 | } |
| 512 | |
| 513 | out.popIndent(); |
| 514 | out.printil("}"); |
| 515 | out.println(); |
| 516 | } |
| 517 | |
| 518 | /** |
| 519 | * Generate preamble package name (shared by servlet and tag handler preamble generation). Package is always |
no test coverage detected