org.apache.commons.classscan.spi.model
Interface SpiClassPathElement
- All Superinterfaces:
- ClassPathElement, Iterable<ClassFile>
- All Known Implementing Classes:
- FileClassPathElement, JarClassPathElement
public interface SpiClassPathElement
- extends ClassPathElement
A single location in a ClassPath. The location might be a jar or a directory.
In enterprise application environments, the location might be an exploded ear or a war.
getAdditionalLocations
Collection<SpiClassPathElement> getAdditionalLocations(SpiMetaRegistry registry)
- Obtain any additional ClassPath elements specified within the metadata of this element.
e.g. The elements specified by the Class-Path attribute of a jar manifest
- Parameters:
registry
-
- Returns:
- null, or an iterator over additional path elements
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.