public interface ClassScannerFactory
Modifier and Type | Method and Description |
---|---|
ClassScanner |
createClassScanner()
Creates the implementation for the class finding operation.
|
ResourceFinder |
finderFor(java.lang.String protocol)
Returns the registered
ResourceFinder for the specified protocol. |
void |
register(ResourceFinder... finders)
Registers the given resource finders.
|
ResourceFinder finderFor(java.lang.String protocol) throws NoResourceFinderException
ResourceFinder
for the specified protocol.protocol
- the protocolNoResourceFinderException
- if no finder is registered for the given protocol.void register(ResourceFinder... finders)
finders
- the resource finder to registerClassScanner createClassScanner()