https://bz.apache.org/bugzilla/show_bug.cgi?id=63691
Bug ID: 63691
Summary: Add a no-op JarScanner
Product: Tomcat 9
Version: unspecified
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -----
When running Tomcat in embedded mode it is many times desired to skip all of
the jar scanning in favor of a faster startup. While it's possible to create
an anonymous class, I propose to add a simple NoOp class, e.g.
org.apache.tomcat.util.scan.NoopJarScanner, possibly with a Singleton instance,
which will have do nothing.
Then we'd be able to easily call
`context.setJarScanner(NoopJarScanner.INSTANCE)`.
If approved, I'd be happy to implement it.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]