| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final JDKModuleFinder | |
| private final ModuleLayer |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public ModuleSpec | findModule(final String
the module name name, final ModuleLoader the module loader from which dependencies should be resolved delegateLoader)Overrides default org. |
| public static JDKModuleFinder | |
| public Iterator | iterateModules(final String
the identifier to start with, or baseName, final boolean null to iterate all modules; ignored if this module
loader does not have a concept of nested modulestrue to find recursively nested modules, false to only find immediately nested
modules; ignored if this module finder does not have a concept of nested modulesOverrides default org. |
| public String |
| INSTANCE | back to summary |
|---|---|
| private static final JDKModuleFinder INSTANCE | |
| layer | back to summary |
|---|---|
| private final ModuleLayer layer | |
| JDKModuleFinder | back to summary |
|---|---|
| private JDKModuleFinder() | |
| findModule | back to summary |
|---|---|
| public ModuleSpec findModule(final String name, final ModuleLoader delegateLoader) Overrides default org. Doc from org. Find a module specification for the given name. The default implementation delegates to the legacy
| |
| getInstance | back to summary |
|---|---|
| public static JDKModuleFinder getInstance() | |
| iterateModules | back to summary |
|---|---|
| public Iterator Overrides default org. Doc from org. Iterate the modules which can be located via this module finder.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ClassLoader | |
| private final Module | |
| private final Set |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Class | loadClassLocal(String
the class name name, final boolean true to resolve the classImplements org. |
| public Package | loadPackageLocal(final String
the package name name)Implements org. |
| public List | loadResourceLocal(final String
the resource path name)Implements org. |
| classLoader | back to summary |
|---|---|
| private final ClassLoader classLoader | |
| module | back to summary |
|---|---|
| private final Module module | |
| packages | back to summary |
|---|---|
| private final Set<String> packages | |
| JDKModuleLoader | back to summary |
|---|---|
| pack-priv JDKModuleLoader(final Module module, final Set<String> packages) | |
| loadClassLocal | back to summary |
|---|---|
| public Class Implements org. Doc from org. Load a class which is locally defined by this loader. | |
| loadPackageLocal | back to summary |
|---|---|
| public Package loadPackageLocal(final String name) Implements org. Doc from org. Load a package which is locally defined by this loader. | |
| loadResourceLocal | back to summary |
|---|---|
| public List Implements org. Doc from org. Load a resource which is locally defined by this loader. The given name is a path separated
by " | |