ctubbsii commented on code in PR #3400:
URL: https://github.com/apache/accumulo/pull/3400#discussion_r1194153323
##########
core/src/main/java/org/apache/accumulo/core/spi/common/ContextClassLoaderFactory.java:
##########
@@ -57,4 +57,11 @@ public interface ContextClassLoaderFactory {
*/
ClassLoader getClassLoader(String contextName);
+ /**
+ * Pass the service environment to allow for additional class loader
configuration
+ *
+ * @param env the class loader environment
+ */
+ default void setEnvironment(ContextClassLoaderEnvironment env) {}
Review Comment:
That's a long way of saying, I think `init(ContextClassLoaderEnvironment
env)` might be the best option, with the configuration retrievable via
`env.getConfiguration()`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]