@PublicEvolving public static interface ModuleFactory.Context
Modifier and Type | Method and Description |
---|---|
ClassLoader |
getClassLoader()
Returns the class loader of the current session.
|
ReadableConfig |
getConfiguration()
Gives read-only access to the configuration of the current session.
|
Map<String,String> |
getOptions()
Returns the options with which the module is created.
|
Map<String,String> getOptions()
An implementation should perform validation of these options.
ReadableConfig getConfiguration()
ClassLoader getClassLoader()
The class loader is in particular useful for discovering further (nested) factories.
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.