|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpiMetaRegistry
The entry point for providers to find/create information about the ClassPath and the classes available from the ClassPath.
Field Summary |
---|
Fields inherited from interface org.apache.commons.classscan.MetaRegistry |
---|
DEFAULT_REGISTRY |
Method Summary | |
---|---|
SpiClassPathElement |
createClassPathElement(URL url)
Create a ClassPathElement from a URL. |
SpiMetaClass |
createMetaClass(MetaClassPathElement metaClassPathElement,
String className,
InputStream byteStream)
Create SpiMetaClass from a MetaClassPathElement. |
SpiMetaClassPathElement |
createMetaClassPathElement(ClassPathElement pathElement)
Create SpiMetaClassPathElement from a ClassPathElement. |
Methods inherited from interface org.apache.commons.classscan.MetaRegistry |
---|
getClassPath, getMetaClassLoader |
Method Detail |
---|
SpiMetaClassPathElement createMetaClassPathElement(ClassPathElement pathElement)
pathElement
- A location in the class path
SpiMetaClass createMetaClass(MetaClassPathElement metaClassPathElement, String className, InputStream byteStream) throws IOException
metaClassPathElement
- The location of a classclassName
- The canonical name of the classbyteStream
- The byte stream containing the class definition. This stream should be closed when finished.
IOException
SpiClassPathElement createClassPathElement(URL url) throws IOException
ClassPathElementFactory
(s)
sequentially until a factory returns a ClassPathElement for the given URL.
url
- The base location of the class files
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |