Package org.jboss.modules
Interface IterableModuleFinder
-
- All Superinterfaces:
ModuleFinder
- All Known Implementing Classes:
JDKModuleFinder
,LocalModuleFinder
public interface IterableModuleFinder extends ModuleFinder
A module finder which is iterable.- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default java.util.Iterator<java.lang.String>
iterateModules(java.lang.String baseName, boolean recursive)
Deprecated.UseiterateModules(String, boolean, ModuleLoader)
instead.default java.util.Iterator<java.lang.String>
iterateModules(java.lang.String baseName, boolean recursive, ModuleLoader delegateLoader)
default java.util.Iterator<ModuleIdentifier>
iterateModules(ModuleIdentifier baseIdentifier, boolean recursive)
Deprecated.UseiterateModules(String, boolean, ModuleLoader)
instead.-
Methods inherited from interface org.jboss.modules.ModuleFinder
findModule, findModule
-
-
-
-
Method Detail
-
iterateModules
@Deprecated default java.util.Iterator<ModuleIdentifier> iterateModules(ModuleIdentifier baseIdentifier, boolean recursive)
Deprecated.UseiterateModules(String, boolean, ModuleLoader)
instead.This method returns an empty iterator and should not be used by new code.- Parameters:
baseIdentifier
- the identifier to start with, ornull
to iterate all modulesrecursive
-true
to find recursively nested modules,false
to only find immediately nested modules- Returns:
- an iterator for the modules in this module finder
-
iterateModules
@Deprecated default java.util.Iterator<java.lang.String> iterateModules(java.lang.String baseName, boolean recursive)
Deprecated.UseiterateModules(String, boolean, ModuleLoader)
instead.Iterate the modules which can be located via this module finder.- Parameters:
baseName
- the identifier to start with, ornull
to iterate all modules; ignored if this module loader does not have a concept of nested modulesrecursive
-true
to find recursively nested modules,false
to only find immediately nested modules; ignored if this module finder does not have a concept of nested modules- Returns:
- an iterator for the modules in this module finder
-
iterateModules
default java.util.Iterator<java.lang.String> iterateModules(java.lang.String baseName, boolean recursive, ModuleLoader delegateLoader)
-
-