public abstract class ClasspathEntriesResolver extends Object
classpath entries
mapped to their absolute paths on the basis of classpath configuration
and some classpath traversal strategy.
Allows to specify the strategy of classpath file entries
construction via
ClasspathFileConstructionStrategy
Provides a default implementation
based on Reflections library's VFS.
Modifier and Type | Class and Description |
---|---|
static class |
ClasspathEntriesResolver.ReflectionsVfsBased
Default implementation of
ClasspathEntriesResolver based Reflections library's VFS. |
Constructor and Description |
---|
ClasspathEntriesResolver(ClasspathFileConstructionStrategy classpathFileConstructionStrategy) |
Modifier and Type | Method and Description |
---|---|
protected ClasspathFileConstructionStrategy |
getClasspathFileConstructionStrategy() |
abstract Map<String,ClasspathEntry> |
resolveClasspathEntries(ClasspathServiceConfiguration configuration)
Resolve
classpath enty mappings bound to the classpath configuration . |
public ClasspathEntriesResolver(ClasspathFileConstructionStrategy classpathFileConstructionStrategy)
public abstract Map<String,ClasspathEntry> resolveClasspathEntries(ClasspathServiceConfiguration configuration)
classpath enty
mappings bound to the classpath configuration
.configuration
- classpath restrictions for resource search locations, patterns etcprotected ClasspathFileConstructionStrategy getClasspathFileConstructionStrategy()
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.