Interface IConfigurationClassLoader
- All Superinterfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.core.SmartClassLoader
- All Known Implementing Classes:
AbstractBytesClassLoader, AbstractClassLoader, AbstractJarBytesClassLoader, DatabaseClassLoader, DirectoryClassLoader, DummyClassLoader, JarFileClassLoader, RelativePathDirectoryClassLoader, ScanningDirectoryClassLoader, WebAppClassLoader
public interface IConfigurationClassLoader
extends org.springframework.core.SmartClassLoader, org.springframework.beans.factory.DisposableBean
Interface for IBIS Configuration ClassLoaders.
- Author:
- Niels Meijer
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(@Nullable IbisContext ibisContext, @NonNull String configurationName) Configure theIConfigurationClassLoader's implementation@NonNull StringRetrieve the name of the configuration that uses thisIConfigurationClassLoader@Nullable URLgetResource(@Nullable String name) voidsetReportLevel(@NonNull String level) Defines the log level for errors caused by theconfiguremethodMethods inherited from interface org.springframework.beans.factory.DisposableBean
destroyMethods inherited from interface org.springframework.core.SmartClassLoader
getOriginalClassLoader, isClassReloadable, publicDefineClass
-
Field Details
-
CLASSPATH_RESOURCE_SCHEME
- See Also:
-
-
Method Details
-
getResource
-
configure
void configure(@Nullable IbisContext ibisContext, @NonNull String configurationName) throws ClassLoaderException Configure theIConfigurationClassLoader's implementation- Throws:
ClassLoaderException- when theIConfigurationClassLoader's implementation cannot retrieve or load the configuration files
-
getConfigurationName
@NonNull String getConfigurationName()Retrieve the name of the configuration that uses thisIConfigurationClassLoader -
setReportLevel
-
getReportLevel
@NonNull IConfigurationClassLoader.ReportLevel getReportLevel()- Returns:
- the
IConfigurationClassLoader.ReportLevelset for thisIConfigurationClassLoader
-