public abstract static class Modules.Provider extends Object implements AutoCloseable
find(java.lang.String)
method you can participate in lookup of module exports objects as
used by generated typings Exports
classes.Modifier | Constructor and Description |
---|---|
protected |
Provider()
Constructor for subclasses.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Unregisters this provider from the system.
|
protected abstract Objs |
find(String id)
Seeks for a module with given id.
|
protected Provider()
Modules.find(java.lang.String)
queries. Use
close()
to unregister the provider.protected abstract Objs find(String id)
id
- the id of the module to seek fornull
,
if this provider cannot resolve the modulepublic final void close()
close
in interface AutoCloseable
Copyright © 2018. All rights reserved.