public interface ServerLibraryConfiguration
This interface is typically looked up in ModuleConfiguration
's
lookup.
Modifier and Type | Method and Description |
---|---|
void |
addLibraryChangeListener(ChangeListener listener) |
void |
configureLibrary(ServerLibraryDependency library)
Configure the library (dependency) the enterprise module needs in order
to work properly.
|
Set<ServerLibraryDependency> |
getLibraries()
Returns the server library dependencies the enterprise module needs
to work properly.
|
void |
removeLibraryChangeListener(ChangeListener listener) |
void configureLibrary(@NonNull ServerLibraryDependency library) throws ConfigurationException
Once library is configured it should be present in the result
of the ServerLibraryConfiguration.getLibraries()
call.
library
- the library the enterprise module needs in order to work
properlyConfigurationException
- if there was a problem writing
configuration@NonNull Set<ServerLibraryDependency> getLibraries() throws ConfigurationException
ConfigurationException
- if there was a problem reading
configurationvoid addLibraryChangeListener(@NonNull ChangeListener listener)
void removeLibraryChangeListener(@NonNull ChangeListener listener)